1. a. def mystery1(num1, num2): """Creates a list containing num2 repeated num1 times""" l = [] for i in range(num1): l.append(num2) return l b. def mystery2(num1, num2): """Creates a list containing num2 repeated num1 times""" return [num2]*num1 2. a. error, 5 isn't a sequence so we can't iterate over it in a for loop b. error, result is initialized as a string, so we can't add numbers to it c. 'aabbccdd' d. 'applesapplesbananasbananas' e. 'applesapplesbananasbananas' f. '112233' 3. def stupid_name(): name = input("Enter your name: ") # when checking, make sure you compare again lowercase versions if name.lower() == "dave" or name.lower() == "david": print(name + ", that's a great name!") else: print(name + ", that's a stupid name!") print("Nice to meet you, " + name)