Untitled

 avatar
Tony2001
python
7 months ago
332 B
5
Indexable
Never
def answer(morning, mom, asleep):
    if asleep == "True":
        return False
    else:
        if morning == "True":
            if mom == "True":
                return True
            else:
                return False
        else:
            return True

print(answer(input("Morning? "), input("Mom? "), input("Asleep? ")))
Leave a Comment