Skip to content

Instantly share code, notes, and snippets.

@JakenHerman
Created February 13, 2014 17:57
Show Gist options
  • Select an option

  • Save JakenHerman/8980339 to your computer and use it in GitHub Desktop.

Select an option

Save JakenHerman/8980339 to your computer and use it in GitHub Desktop.
squirrel_play on Coding Bat
__author__ = 'Jaken'
def squirrel_play(temp, is_summer):
if is_summer and temp >= 60 and temp <=100:
return True
elif not is_summer and temp >= 60 and temp <= 90:
return True
else:
return False
@Houssamt290
Copy link

Screenshot_20220213-010412_Pydroid 3

A shorter version 🤷🏻‍♂️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment