Last active
August 29, 2015 13:55
-
-
Save schifano/8778776 to your computer and use it in GitHub Desktop.
My solutions for CodingBat Python Warmup-1. This is used to document my initial attempts and improved attempts.
This file contains hidden or 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
# sleep_in | |
''' | |
The parameter weekday is True if it is a weekday, | |
and the parameter vacation is True if we are on vacation. | |
We sleep in if it is not a weekday or we're on vacation. | |
Return True if we sleep in. | |
''' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment