+ 2
That's odd in Python. Why not working? Explain for me? Also add another solution?
numberLength = int(input()) count = 0 for i in numberLength: numbers = int(input()) if numbers / 2 == 0: count += numbers print(count)
2 odpowiedzi
0
Use modulus (%) instead of division so it should be numbers % 2 == 0.