Mission: Rocket Launch Countdown ๐
Mission Control needs a launch sequence, and they need it dramatic.
You've got every tool you need now: loops to do the counting, if to add
surprises at the tense moments, and f-strings to make it all read properly.
Something like this:
๐ LAUNCH SEQUENCE INITIATED ๐
==============================
10...
9...
8...
7...
6...
5... engines igniting! ๐ฅ
4...
3... all systems go!
2...
1... hold on tight!
==============================
BLASTOFF! ๐๐๐
Your mission
- Print an opening line so everyone knows the launch has begun
- Use a loop (
fororwhileโ your choice) to count from 10 down to 1, printing each number - Use an
ifinside the loop to add an extra dramatic message at one or two special numbers - After the loop, print a huge BLASTOFF! message
- Your whole launch should be at least 10 lines long
Go big. Add smoke, add a countdown announcer, add a nervous astronaut. ๐งโ๐
Your code
Press โถ Run to see what your code does!