Python program to find total number of odd and even elements in a list.|#pythonprogram#list #EvenOdd

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

U can this : even += 1, because this is similar to this even = even +1

shooterzin
Автор

W.a.p enter 10 nom in list find out the how many even and odd . Very nice

akku
Автор

x =
y = int(x / 2)

if x / 2 == y:
print("the number is even")
else:
print("the number is odd")

Not for list

krronotic