I'm writing a script that is asking for user to input a number between 1-10, the script will then call the function Size and will return true if the number is greater or equal to 5 and false if not. However, I seem to have run into a bit of a wall, I get an error asking me to define x, this is my code currently.
def Size(x):
if x >= 5:
print("True")
else:
print("False")
x = int(input("Please enter a number greater than 5"))
Size(x)