Skip to content

Instantly share code, notes, and snippets.

@giwa
Created March 13, 2016 05:53
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 giwa/ff9f46195665e766276b to your computer and use it in GitHub Desktop.
Save giwa/ff9f46195665e766276b to your computer and use it in GitHub Desktop.
EP19 Provide Optional Behavior with Keyword Arguments ref: http://qiita.com/giwa/items/c08c03452bb78fb916f8
def remidner(number, divisor):
return number % divisor
reminder(20,7)
reminder(20, 7)
reminder(number=20, divisor=7)
reminder(divisor=7, number=20)
twitter_search('@obama', False, 20, True)
twitter_search('@obama', retweets=False, numtweets=20, popular=True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment