So basically on my homework I need to use a FOR loop checking if an input is greater than ten but less than 20... I only know basic python, and this is stumping me.
I've used a while loop, I understand how to use that. The for loop is what gets me.
num1 = int(input("Enter a number greater than 10 and less than 20."))
while(num1<=10 and num1>=20):
print("Invalid. Try again.")
num1 = int(input("Enter a number greater than 10 and less than 20."))