+ 3
Is Python a slow computer language.
3 Answers
+ 3
Thank you 😊
+ 2
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'.
+ 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.
Hot today
Python — File Handling
1 Votes
Help me solve this (using loop)
3 Votes
What is wrong? Error on test.
1 Votes
Help me wiht python
1 Votes
Help me
0 Votes
Question is write a c program to print prime numbers up to n and print the largest number in array.
1 Votes
What’s wrong?
2 Votes