Skip to content

Instantly share code, notes, and snippets.

@JessicaWachtel
Created February 29, 2024 22:30
Show Gist options
  • Save JessicaWachtel/b1b4713342c1a75b45f088798c784a24 to your computer and use it in GitHub Desktop.
Save JessicaWachtel/b1b4713342c1a75b45f088798c784a24 to your computer and use it in GitHub Desktop.
def distance_checker(miles):
if miles > 0 and miles <10:
print("in range")
else:
print("out of range")
distance_checker(3)
# in range
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment