Code I have written gives me an error: it won't take floats as part of the range.
grade = float(input('How much was your annual average ?') )
if grade in range (65,100) :
print ('Congratulations, you are promoted to the 2nd Secondary !')
elif grade in range ( 60, 64):
print('You are promoted on the condition you pass a make-up exam.')
elif grade >100:
print( 'Error, recheck value')
else :
print ('You have failed the academic year')