Create 2 - Double Time.py

This commit is contained in:
Lukas Baumann 2021-02-17 12:44:36 +01:00 committed by GitHub
parent 01b3dfc1fa
commit 808ac8a0f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

6
16/2 - Double Time.py Normal file
View File

@ -0,0 +1,6 @@
def countdownBy2(n):
if n < 1:
print('Blastoff!')
else:
print(n)
countdownBy2(n - 2)