11. Using “For Loop”, print the following to the shell 3 times: “Hip hip hooray” (2 points)

Answer:

for count in range(3):
    print('Hip hip hooray')

12. Using “While Loop”, create a forever loop that will keep asking the user “Are you bored?” until the user enters “quit” then break from the loop (3 points).

Answer:

while True:
    answer = input('Are you bored? ')
    if answer == 'quit':
        break

13. How to add one more name, “Luke”, to this variable?

names = ['Matthew', 'Mark']

Answer:

names.append('Luke')