Code Writer
Level 3, 2026-05-05
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 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 = [34,82,5]
Use a loop to print the sum of the numbers from 2 to 12

Use: variables, loops[2]
Use a loop to print the sum of the numbers from 7 to 27

Use: variables, loops[2]
Do the sum 73 - 30 and print the result

Use: [1]
Assume you have a list of numbers X. Write code to add up the numbers in the list that are bigger than or equal to than 5

Use: variables, loops, if[3]

Test Using:
X = []
X = [5,6,7,8,9,10,11,12,13,14,15]
X = [53,99,44]
Print your first name

Use: [1]
Assume you have a list of numbers A. Write code to add up the numbers in the list that are smaller than or equal to than 9

Use: variables, loops, if[3]

Test Using:
A = []
A = [5,6,7,8,9,10,11,12,13,14,15]
A = [53,99,44]
Assume you have a list of numbers VAR. Print the 10th element of VAR.

Use: variables[1]

Test Using:
VAR = [1,2,3,4,5,6,7,8,9,10]