When I run the following code the output is "None"? I'm trying to write a function that would print a random number between two values depending whether parameters are present or not.
import random
def randInt(min="", max=70):
if min and max == False:
return random.random() * 80
elif min == False:
return random.random() * max
elif max == False:
return random.random() * min + 100
print(randInt())