| about | help | done | prefs | create account |
Python > Warmup-1 > sleep_in
prev | next | chance
| 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.
sleep_in(False, False) → True sleep_in(True, False) → False sleep_in(False, True) → True ...Save, Compile, Run See also Python Example Code. Python help docs: Python Strings | Python Lists | Python If Boolean |
Forget It! -- delete my code for this problem 103.0
Copyright Nick Parlante 2006-10 - privacy