i want to know if there is a simpler way to write the condition of the if statement, something like item1, item2 == "wood":, something like that i have this code:
item1 = input("item1: ")
item2 = input("item2: ")
if item1 == "wood" and item2 == "wood":
print("You created a stick")
Aucun commentaire:
Enregistrer un commentaire