Python 2.7. The below function below returns either True or False. I'm trying to print this result. Now I know that I could just replace "return" with "print", but I don't want to print from within the function.
def OR_Gate():
a = raw_input("Input A:")
b = raw_input("Input B:")
if a == True or b == True:
return True
if a == False and b == False:
return False
print OR_Gate()
When I run the below code, I'm prompted to enter values for a and b, and then the output is "None", as opposed to either True or False. How do I just print the return of the function OR_Gate?