for i in range(3):
print('Cupcakes!')
Then click "Visualize execution."Using the visualizer to help you, answer Questions 2 and 3 in your writeup. Pay attention to both the program output (below your code) and the global variables (to the right).
Your answer to Question 3 should be a comma-separated list with spaces
between the values.
For example: 8, 9, 10
for j in range(2, 8):
print('Marshmallows!')
Visualize this code and answer Questions 4 and 5 in your writeup.for k in range(8, 2):
print('Thin Mints (TM)!')
Visualize this program and answer Questions 6 and 7 in your writeup.x = 5
for i in range(1, 6):
x = i
Visualize this program and answer Question 8 in your writeup.x = 5
for i in range(1, 6):
x = x + i
Visualize this program and answer Question 9 in your writeup.