I am having a little bit of trouble with loops.
mainTest = "Menu:\n(R)enter Numbers\n(O)dd or Even\n(S)um and Average\n(Q)uit\nWhat would you like to do?: "
getInteger1 = input("Your first number?: ")
getInteger2 = input("Your second number?: ")
print mainTest
while userInput != '':
if userInput == 'r' or 'R':
#This is where I am having trouble, when the menu is displayed the user has the option of re-entering the previous numbers.
If the user inputs 'r' or 'R' I want the 'getIntergers1 and 2' to be displayed again.
I have done google searches but with no result.
Can anyone please lend me a hand or point me in the right direction?