Question: I need help with this programming assignment this needs to be in python format btw Task 4: Countdown! For this task write a function in
I need help with this programming assignment

this needs to be in python format btw
Task 4: Countdown! For this task write a function in an IDLE Editor window called countdown ) that takes no arguments. The function should use the input () function to prompt a user for a positive integer. It should then use the range ) function and a for-loop to count down from the input value to zero, printing each value and ending with "Blast off For example Enter a positive integer: 5 s Blast off! Hint #1 : You'll have to use a nested for-loop in your function. Recall that indentation is very important because it tells the interpreter where each part of the code begins and ends. Your function should have the following structure: i def countdown) # code that comes before the for-loop for ..: # code within the body of the for-loop # code that comes after the for-loop Hint #2: Use range ( ) with three arguments as your iterable. Hint #3: Be careful where you print the final statement 'Blast off! You don't want to be blasting off after every count
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
