#!/usr/bin/env python """ Examples from: http://codingbat.com Put here so we can write unit tests for them ourselves """ # Python > Warmup-1 > sleep_in def sleep_in(weekday, vacation): if vacation is True: return True elif weekday is False: return True else: return False def sumdouble(a, b): if a == b: return (a + b) * 2 else: return(a + b)