Skip to content

Instantly share code, notes, and snippets.

@JakenHerman
Created February 13, 2014 19:08
Show Gist options
  • Select an option

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

Select an option

Save JakenHerman/8981666 to your computer and use it in GitHub Desktop.
alarm_clock on Coding Bat
__author__ = 'Jaken'
def alarm_clock(day, vacation):
if not vacation and day >=1 and day <=5:
return "7:00"
elif (not vacation) and (day == 0 or day == 6):
return "10:00"
elif vacation and day == 0 or day ==6:
return "off"
elif vacation and day >=1 and day <=5:
return "10:00"
@Houssamt290
Copy link

Screenshot_20220214-130714_Pydroid 3

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