def q3(): answer = ask("Use one word to describe the texture of their magical fur?") if answer.startswith("smile"): print(":)") return True print(":<")A return False
def q2(): answer = ask("What are the unicorns dancing on?") if answer.startswith("rainbow"): print("But isn't that physically impossible? Oh well.") return True print("Nope") return False
def q1(): answer = ask("What color are the unicorns?") if answer == "pink": print("And what a lovely color it is.") return True print("That is incorrect.") return False
def q3(): answer = ask("What is the capital of Assyria?") if answer == "assur": print("YES!!") return True else: print("Nope.") return False
def q2(): answer = ask("What is the capital of Utah?") if 'salt lake' in answer: print("YES!!") return True else: print("Nope.") return False
def q1(): answer = ask("What is the capital of North Carolina?") if answer == "durham": print("Nope, but close, literally") return False elif answer == "raleigh": print("YES!!") return True else: print("Nope.") return False