Created
March 13, 2016 05:53
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def remidner(number, divisor): | |
return number % divisor | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
reminder(20,7) | |
reminder(20, 7) | |
reminder(number=20, divisor=7) | |
reminder(divisor=7, number=20) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
twitter_search('@obama', False, 20, True) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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