Code Writer
Level 3, 2026-06-03
Answers should be legal Python code, including indentation. Use the underscore _ to show a space.
Special functions: print(), range(), sqrt(), str()
Use a loop to print the average of the numbers from 3 to 13

Use: variables, loops[2]
Do the sum 21 - 88 in code and store the result

Use: variables[1]
Print each number from 4 to 8

Use: loops[2]
Print each number from 0 to 46

Use: loops[2]
Print a variable that contains your first name

Use: variables[1]
Write a loop that prints "dumbdumb" 25 times

Use: loops[2]
Assume you have 2 lists of numbers with 4 elements each: VAR and B. Add the 4th elements of the lists together.

Use: variables[1]

Test Using:
VAR = [1,2,3,...,4], B = [1,2,3,...,4]
Assume you have a list A with at least 2 elements. Create a new variable that is equal to the first two elements added together.

Use: variables[1]

Test Using:
A = ['a','b','c']
A = ['big','dog']
A = [32,20,10]
Assume you have a list of numbers Q. Write code to count how many numbers in the list are bigger than 10

Use: variables, loops, if[3]

Test Using:
Q = []
Q = [10,0,25]
Q = [92,49,44]