Write a function countdown that works by decrementing till it reaches , then prints BLASTOFF!
There are many ways to solve this task, but please try to solve using recursion.
Write a function countdown that works by decrementing till it reaches , then prints BLASTOFF!
Sample Input 1:
10Sample Output 1:
10 9 8 7 6 5 4 3 2 1 BLASTOFF!Create a free account to access the full topic