0
What change should I make in this python code so that I'll be able to output all Even numbers less than 1000
1 Odpowiedź
+ 1
bernard
Nothing wrong with your code, but if you are looking for alternate methods, then here are 2 others.
print([i for i in range(0,1000,2)])
print()
[print(i) for i in range(0,1000,2)]