WHy doesn't this code gives an error in python as the else part is un-indented and doesn't have a starting if block.
guess=7
c=1
for c in range(1,6):
g = int(input("guess a number from 1 to 20:"))
if (g==guess):
print("you win")
break
else:
print("you lose")