Untitled

Anonymous
plain_text
05/16/2023 3:20 PM
164 B
24
Indexable
for number in file:
    even_count = sum(int(num) % 2 == 0 for num in file)

print("Liczba liczb parzystych:", even_count)
Editor is loading...