I'm learning python, and I'm trying with a set of exercises, but I'm stuck on the next one:
inp_1 = input('your score between 0.0 and 1.0')
try:
score = float(inp_1)
if 0.9 <= score <= 1.0:
print ("A") elif score >= 0.8:
print ("B") elif score >= 0.7:
print ("C") elif score >= 0.6:
print ("D") elif score < 0.6:
print ("Your grade is an F")
else:
print ('your score is more than 1.0')
except:
print ('invalid input, please try with a number')
but I'm get the next message error:
IndentationError: unindent does not match any outer indentation level on line 7 elif score >= 0.8: ^ in main.py