I've a new answer
Opened this issue · 0 comments
MahmoudWahby commented
try :
score = float (raw_input("Enter Score: "))
if 0 <= score <0.6:
print "F"
elif score>1.0:
print "Enter Number Between 0.6 to 1.0"
elif score>=0.9:
print "A"
elif score >=0.8:
print "B"
elif score >=0.7:
print "C"
elif score >=0.6:
print "D"
else :
print "Type a Number Between 0.6 to 1.0"
except :
print "Number Error"