Code Writer
Level 3, 2026-07-24
Answers should be legal Python code, including indentation. Use the underscore _ to show a space.
Special functions: print(), range(), sqrt(), str()
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 = []
Use a loop to add the numbers from 5 to 33

Use: variables, loops[2]
Assume you have a non-empty list of numbers X. Write code to find the biggest number in the list.

Use: variables, loops, if[2]

Test Using:
X = [1,2,3]
X = [3,2,1,0]
X = [95,57,35]
A rectangle has sides of 4 and 7. Create variables for the sides of the shape and then calculate its area

Use: variables[2]
Print each number from 4 to 14

Use: loops[2]
Assume you have a non-empty list of numbers VAR. Write code to find the biggest number in the list.

Use: variables, loops, if[2]

Test Using:
VAR = [1,2,3]
VAR = [3,2,1,0]
VAR = [95,57,35]
Do the sum 94 / 90 in code and store the result

Use: variables[1]
Use a loop to print 28 lines with a line number and the word "moo". For example, line 1 should be "1: moo", line 2 would be "2: moo", etc.

Use: variables, loops, str()[2]