Is Python a slow computer language.
Thank you 😊
I am sure you won't recognise the difference on a modern computer. The most codes work immediatly in python, even recursiv fractals. Slow programs are often written in bad Style. For example: In Python 'x += 1' works much faster than 'x = x + 1'.
@Sebastian: Gotta love the in-place operators. To me, Python can be fast or slow, depending on the style of coding. even = list(filter(lambda x: x % 2 == 0, nums)) is slower than a “for” loop that iterates over the list to separate the even numbers from a given list. Just two cents from a humble Python novice.
Python — File Handling
Help me solve this (using loop)
What is wrong? Error on test.
Help me wiht python
Question is write a c program to print prime numbers up to n and print the largest number in array.