Loops Practice Quiz

To confirm that you understand the major concepts you’ve seen in Python, try to answer the following questions without opening Python.

Question 1

Question 2

Question 3

Question 4

Question 5

Question 6

Write a program that counts from 1 to 15. Try this using both a for and while loop.

Question 7

Write a program that asks the user to guess a secret word. Keep prompting the user until they guess the word “prairie”. Once they guess correctly, print out “bunnyhug!”.

Next Section - Functions Practice Quiz