Create 2 - Double Time.py
This commit is contained in:
parent
01b3dfc1fa
commit
808ac8a0f5
6
16/2 - Double Time.py
Normal file
6
16/2 - Double Time.py
Normal file
@ -0,0 +1,6 @@
|
||||
def countdownBy2(n):
|
||||
if n < 1:
|
||||
print('Blastoff!')
|
||||
else:
|
||||
print(n)
|
||||
countdownBy2(n - 2)
|
Loading…
Reference in New Issue
Block a user