mercredi 15 janvier 2020

"Else" statement not responding

so , i wrote a software that should respond to an input of user , however

i wrote an If statement , buut it doesnt respond to an else statement

print("#" * 9)

Commands that you can use:
-------------------------
1. Theme A – Home and abroad
1.1 Life in the town and rural life
1.2 
""")
question = input("Topic: ")

RuralLife = """
 Theme A – Home and abroad

"""

if question == "Theme A – Home and abroad" or "Life in the town and rural life":
    print(RuralLife)
else:
    print("Please Select Topic")```

Aucun commentaire:

Enregistrer un commentaire