This question already has an answer here:
- Python If Statement 1 answer
I currently am having issues with this line of code
roomChoice = input("Choose 1-3: ")
if roomChoice == 1:
print("You went to the bar, and lost $5, your total loot is : " + main.totalLoot)
else:
print(roomChoice)
Whenever I input 1, it prints out 1 instead of evaluating the first if statement
Aucun commentaire:
Enregistrer un commentaire