Code Writer
Level 3, 2026-05-04
Answers should be legal Python code, including indentation. Use the underscore _ to show a space.
Special functions: print(), range(), sqrt(), str()
Use a loop to print 71 lines with the numbers from 1 to 71 and each number times 4, separated by a commma. For example, line 1 would be "1, 4", line 2 would be "2, 8",etc.

Use: variables, loops, str()[2]
Assume you have a non-empty list of scores F for your math class. Calculate the minimum of the scores.

Use: variables, loops[3]

Test Using:
F = [10]
F = [1,2,3,4,5]
F = [54,90,23]
Assume you have a non-empty list X. Create a new variable that is equal to the first element in the list.

Use: variables[1]

Test Using:
X = [1]
X = ['a','b','c']
X = [29,43,79]
Set two variables to different strings then make a new variable that combines them with a "g" in between

Use: variables[1]
Print each number from 1 to 49

Use: loops[2]
Print each number from 0 to 50

Use: loops[2]
Assume you have a list of names, Q. Write code to count the number of times the name "Missy" appears in the list.

Use: variables, loops, if[2]

Test Using:
Q = []
Q = ['Missy']
Q = ['Missy','Octavian','Melissa','Missy']
Assume you have a list variable LIST. Print each value in LIST.

Use: loops[2]

Test Using:
LIST = [1,2,3]
LIST = ['a','b',0]
LIST = []