i was coding some python and ran into a problem where it only lets me run one command for an else: statement here in this i have to indent all the state after print(" ") and the it will run after g when i want it to run just with else:
question = input('Is The Bee Movie Good Or Bad (g/b)')
if question == "g":
print(" ")
print("Good")
else:
print(" ")
import time
time.sleep(1)
print(".")
import time
time.sleep(.5)
print(".")
import time
time.sleep(.5)
print(".")
import time
time.sleep(.5)
print(".")
import time
time.sleep(.5)
print(".")
import time
time.sleep(.1)
for i in range(50):
print("Error, System Shutdown Active")
Aucun commentaire:
Enregistrer un commentaire