This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
score=float(input("enter the number")) | |
if score>1.0 or score<0.0: | |
print("error") | |
elif score>=0.9: | |
print("A") | |
elif score>=0.8: | |
print("B") | |
elif score>=0.7: | |
print("C") | |
elif score>=0.6: |