Code Writer
Level 3, 2026-09-26
Answers should be legal Python code, including indentation. Use the underscore _ to show a space.
Special functions: print(), range(), sqrt(), str()
Do the sum 56 / 70 and print the result

Use: [1]
Write a loop that prints "fake" 34 times

Use: loops[2]
Assume you have a non-empty list of numbers B. Create a new variable that is equal all the numbers in B multiplied together.

Use: variables, loops[2]

Test Using:
B = [1,1]
B = [1,2,3,4,5]
B = [92,38,69]
Assume you have a list of numbers Z. Write code to count how many numbers in the list are smaller than 18

Use: variables, loops, if[3]

Test Using:
Z = []
Z = [18,0,25]
Z = [100,58,70]
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 multiply the numbers from 1 to 15

Use: variables, loops[2]
Assume you have 2 variables S and T that are equal to the sides of a rectangle. Calculate another variable that is equal to the area of the rectangle.

Use: variables[2]

Test Using:
S = 17, T = 41
Do the sum 88 + 94 in code and store the result

Use: variables[1]