Code Writer
Level 3, 2026-07-25
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 a list of numbers, including a line number on each line

Use: variables, loops, str()[2]
Assume you have a list of numbers E. Write code to count how many numbers in the list are bigger than 20

Use: variables, loops, if[3]

Test Using:
E = []
E = [20,0,25]
E = [40,48,51]
Use a loop to print the average of the numbers from 0 to 5

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

Use: variables, loops[2]
Print your first name

Use: [1]
Print each number from 6 to 21

Use: loops[2]
Use a loop to print the sum of the numbers from 6 to 21

Use: variables, loops[2]
Do the sum 68 * 26 and print the result

Use: [1]