Skip to content

Instantly share code, notes, and snippets.

@jiyeonseo
Created February 22, 2015 10:09
Show Gist options
  • Save jiyeonseo/f837f4e4fff2eba7f18d to your computer and use it in GitHub Desktop.
Save jiyeonseo/f837f4e4fff2eba7f18d to your computer and use it in GitHub Desktop.
exercise 3.3
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