Python Rocket Launcher

rocket_launcher.py
# Python script to launch a rocket into the sky
import time
from space import Rocket

def launch_sequence():
print("Initializing launch sequence...")
time.sleep(1)
print("Fuel tanks pressurized")
time.sleep(1)
print("Navigation systems online")
time.sleep(1)
print("All systems nominal")
time.sleep(1)

if __name__ == "__main__":
launch_sequence()
rocket = Rocket("Falcon Py")
rocket.launch()

Made with DeepSite LogoDeepSite - 🧬 Remix