num=int(input("Enter a number between 10 and 20."))
while num<10 or num>20:
num1=int(input("Enter a number between 10 and 20."))
if 10<num<20:
break
print("Well done!")
The loop is infinite cannot escape. Output is always (num1) not sure what I'm doing wrong.