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

i = 1

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