Code Writer
Level 3, 2026-04-28
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 non-empty list of numbers Z. Create a new variable that is equal all the numbers in Z multiplied together.

Use: variables, loops[2]

Test Using:
Z = [1,1]
Z = [1,2,3,4,5]
Z = [86,85,67]
Use a loop to multiply the numbers from 5 to 16

Use: variables, loops[2]
Use a loop to multiply the numbers from 1 to 54

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

Use: variables, loops[2]

Test Using:
X = [1,1]
X = [1,2,3,4,5]
X = [86,85,67]
Print each number from 0 to 11

Use: loops[2]
Use a loop to multiply the numbers from 1 to 40

Use: variables, loops[2]
Assume you have a list of numbers F. Create a new variable that is equal to sum of all the numbers in F.

Use: variables, loops[2]

Test Using:
F = []
F = [1,1]
F = [42,32,85]
Assume you have a non-empty list Y. Print the first element in the list.

Use: variables[1]

Test Using:
Y = [1]
Y = ['b','a','c']
Y = [5,72,62]