Skip to content

Instantly share code, notes, and snippets.

@codecademydev
Created October 26, 2022 12:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save codecademydev/245ded88674c0fa033854672823d995b to your computer and use it in GitHub Desktop.
Save codecademydev/245ded88674c0fa033854672823d995b to your computer and use it in GitHub Desktop.
Codecademy export
#x = 3
#y = 9
#if x == y:
# print ("These numbers are the same")
#else:
# print ("nope, try again")
#Let's try to get a user to input a score credit
user_credit = input ("Enter credit score")
if user_credit >= 120:
print("You have enough credits to graduate")
else:
print("Sorry, you didn't make it this time, but that's ok. There's another session")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment