first-input.py 114 Bytes
Newer Older
1
n = int(input("Do kolika chceš počítat? "))
Martin Mareš's avatar
Martin Mareš committed
2
3
4
5
6
7
8

i = 1

while i <= n:
    if i%2 == 0:
        print(i)
    i += 1