On July 16, 1969, the Apollo 11 spacecraft launched from Earth. Write out a program to simulate a one-minute launch countdown, starting from 60 and counting down to 1, followed by the word “LIFTOFF!!!”. You must import the time module to use its sleep function to make the countdown realistic: import time # This will make the computer wait for 1 second: time.sleep(1) The output must look like the following when you test your program: 60 59 58 … 3 2 1 LIFTOFF!!!

Microsoft Visual C#
7th Edition
ISBN:9781337102100
Author:Joyce, Farrell.
Publisher:Joyce, Farrell.
Chapter5: Looping
Section: Chapter Questions
Problem 15E
icon
Related questions
Question
100%

On July 16, 1969, the Apollo 11 spacecraft launched from Earth. Write out a program to simulate a one-minute launch countdown, starting from 60 and counting down to 1, followed by the word “LIFTOFF!!!”.
You must import the time module to use its sleep function to make the countdown realistic:
import time
# This will make the computer wait for 1 second:
time.sleep(1)
The output must look like the following when you test your program:
60
59
58

3
2
1
LIFTOFF!!!

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 3 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning