Created
February 22, 2015 10:09
-
-
Save jiyeonseo/f837f4e4fff2eba7f18d to your computer and use it in GitHub Desktop.
exercise 3.3
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
inp = raw_input("Enter the score") | |
score = float(inp); | |
if score <= 1.0 : | |
if 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("F") | |
else : | |
print("plese enter the score under 1.0") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment