Code Writer
Level 3, 2026-09-01
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 of numbers. Use a variable to add the items in the list

Use: variables, loops[2]

Test Using:
LIST = [1]
LIST = [1,2,3,4,5,6,7,8,9]
LIST = [98,20,26]
Print a list of strings, including a line number on each line

Use: variables, loops, str()[2]
Use a loop to print the sum of the numbers from 0 to 1

Use: variables, loops[2]
Assume you have a list of numbers A. Write code to add up the numbers in the list that are bigger than 4

Use: variables, loops, if[3]

Test Using:
A = []
A = [5,6,7,8,9,10,11,12,13,14,15]
A = [6,62,4]
Use a loop to add the numbers from 0 to 14

Use: variables, loops[2]
Use a loop to add the numbers from 0 to 53

Use: variables, loops[2]
Use a loop to print the average of the numbers from 2 to 19

Use: variables, loops[2]