if userInput != userPassword:
print("I'm sorry, that is wrong please try again. Try to remember capitals!")
elif userInput == userPassword:
print("That is correct you may now find out your mobile phone costs!")
mobile_phone()
When that runs and I enter the wrong password it just repeats the first print statement (I'm sorry, that is wrong please try again. Try to remember capitals!) how can I make it just run it again ONCE and if it is wrong then maybe another time until it is answered with the right password. Debut Post