Code Writer
Level 3, 2026-09-16
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 create a string that has 35 "f" characters

Use: variables, loops[2]
Print each number from 0 to 48

Use: loops[2]
Use a loop to create a string that has 20 "d" characters

Use: variables, loops[2]
Assume you have two non-empty lists of numbers Y and E. Create a new variable that is equal to the first element of each list added together.

Use: variables[1]

Test Using:
Y = [1], E = [1]
Y = [1,2,3], E = [3,2,1]
Y = [81,22,18], E = [59,77,56]
Do the sum 32 * 55 and print the result

Use: [1]
Use a loop to print the average of the numbers from 0 to 5

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

Use: variables, loops[2]
Write a loop that prints "dumdum" 85 times

Use: loops[2]
Do the sum 96 / 22 in code and store the result

Use: variables[1]