I just started learning python since a week.
I am trying to do a testing:
"Beginning of the Program" print("Hi Sir and welcome to my calculator") print("Please select from the below menu your math operation") MenuOption = input("+ for Add, - for Subtract, * for Multiply, / for Division: ") if (MenuOption != "+" and MenuOption != "-" and MenuOption != "*" and MenuOption != "/"): print("You have typed wrong character, please try again") **# my problem is here, I want it to loop back to MenuOption line** else: print("Thanks for the correct selection") FirstNumber = int(input("First Number: ")) SecondNumber = int(input("Second Number: ")) if (MenuOption == "+"): print(FirstNumber + SecondNumber) elif (MenuOption == "-"): print(FirstNumber - SecondNumber) elif (MenuOption == "*"): print(FirstNumber * SecondNumber) elif (MenuOption == "/"): print(FirstNumber / SecondNumber) I want the program to start promoting back the MenuOption, when I don't press any of the math signs (+, -, *, /)