def WashClothes(): print("Clothes are washing.") s = input("Is it clean? (y/n) ") if s == 'n': WashClothes() def AnnoyingSibling(): """ Repeatedly askl the question why""" answer = input("Why? ") if answer == 'I quit': return else: AnnoyingSibling() def AskAQ(): s = input("Why did you enroll in CS 101") AnnoyingSibling() def Factorial(n): """ Factorial(n) = n! """ if n == 0: return 1 else: return n * Factorial(n-1) def FibNum(n): """ This returns the nth Fib number in the sequence""" if n== 0: return 1 elif n==1: return 1 else: return FibNum(n-1) + FibNum(n-2) def CompSq(n): if n == 0: return 0 else: return CompSq(n-1) + (n-1) + n