i'm a newbie learning python, i have a problem.
How to write an program in python for the below flowchart diagram?
i tried, i get error:
while True:
raining = input("\nIs it raining outside?")
if raining == yes:
print(input("Do you have an umbrella?"))
if raining = quit:
break
if input == yes:
print("Go outside.")
if input == no:
print("Wait a while")
else:
print("Go Outside.")
Aucun commentaire:
Enregistrer un commentaire