Level 06: count controlled iterations and scope 0 of 9 activities solved
  1. 1. Countdown to launch Not yet solved
  2. 2. Rainfall Not yet solved
  3. 3. Notebook Not yet solved
  4. 4. Times tables Not yet solved
  5. 5. Voting count Not yet solved
  6. 6. Fizz Buzz Not yet solved
  7. 7. Find and replace Not yet solved
  8. 8. Twelve days of Christmas Not yet solved
  9. 9. Distribution of two dice Not yet solved
Next series Assessment point: levels 01-06
Level 06: count controlled iterations and scope

1. Countdown to launch

Sign in to hand in your solution and get feedback.

# Countdown to launch program # ------------------------- # Import libraries # ------------------------- import time # ------------------------- # Subprograms # ------------------------- def countdown(): print("T minus...") for counter in range(10, 0, -1): print (counter, "...") time.sleep(1) print("0 ...") print("All engines running.") print("Lift off, we have a lift off on Artemis 1.") time.sleep(1) print("Tower clear.") # ------------------------- # Main program # ------------------------- countdown()