Skip to content

Instantly share code, notes, and snippets.

@GeorgeSeif
Created October 28, 2018 22:51
Show Gist options
  • Select an option

  • Save GeorgeSeif/6f4fe9a519e343832ec1f7c01ccec175 to your computer and use it in GitHub Desktop.

Select an option

Save GeorgeSeif/6f4fe9a519e343832ec1f7c01ccec175 to your computer and use it in GitHub Desktop.
a = 2000
if a > 1000:
print("Big number!")
elif a >= 500 and a < 1000:
print("Medium number!")
elif a >= 0 and a < 500:
print("Small number!")
else:
print("Negative number!")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment