Skip to content

Instantly share code, notes, and snippets.

@socalal
Created May 21, 2014 01:39
Show Gist options
  • Save socalal/defcb5ee448da55b48e0 to your computer and use it in GitHub Desktop.
Save socalal/defcb5ee448da55b48e0 to your computer and use it in GitHub Desktop.
def b_test_q():
global input_1, input_2, input_3
print "Input 1: "
input_1 = raw_input("=> ").capitalize()
print "'==' or '!='."
input_2 = raw_input("=> ").capitalize()
print "Input 2: "
input_3 = raw_input("=> ").capitalize()
if input_1 or input_2 or input_3 == "Q":
print input_1 + " " + input_2 + " " + input_3
menu_prompt()
else:
if input_1 == "T" or input_1 == "TRUE":
input_1 = "True"
b_test_a()
elif input_1 == "F" or input_1 == "FALSE":
input_1 = "False"
b_test_a()
else:
b_test_a()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment