csc-python-solutions/16/2 - Double Time.py
2021-02-17 12:44:36 +01:00

7 lines
101 B
Python

def countdownBy2(n):
if n < 1:
print('Blastoff!')
else:
print(n)
countdownBy2(n - 2)