Skip to content

Instantly share code, notes, and snippets.

@JakenHerman
Created February 13, 2014 17:28
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 JakenHerman/8979797 to your computer and use it in GitHub Desktop.
Save JakenHerman/8979797 to your computer and use it in GitHub Desktop.
date_fashion in Coding Bat
__author__ = 'Jaken'
def date_fashion(you, date):
if you <= 2 or date <= 2:
return 0
elif you >= 8 or date >= 8:
return 2
else:
return 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment