Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jennyonjourney/29216aea590b42494dc970b5cc310c9e to your computer and use it in GitHub Desktop.
Save jennyonjourney/29216aea590b42494dc970b5cc310c9e to your computer and use it in GitHub Desktop.
Python for everybody - Assignment3.3
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