Created
March 25, 2018 02:41
-
-
Save jennyonjourney/29216aea590b42494dc970b5cc310c9e to your computer and use it in GitHub Desktop.
Python for everybody - Assignment3.3
This file contains hidden or 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 = input("Enter Score: ") | |
try: | |
s=float(score) | |
except: | |
print('error') | |
quit() | |
if s>=0.9: | |
print('A') | |
elif s>=0.8: | |
print('B') | |
elif s>=0.7: | |
print('C') | |
elif s >=0.6: | |
print('D') | |
else: | |
print('F') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment