Code Writer
Level 3, 2026-11-21
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 13 "E" characters

Use: variables, loops[2]
A right angled triangle has 2 shorter sides of 5 and 6. Calculate the other side (the "hypotenuse").

Use: variables, sqrt()[2]
Print each number from 0 to 44

Use: loops[2]
Set two variables to different strings then make a new variable that combines them with a "D" in between

Use: variables[1]
Assume you have a list variable LIST. Count the number of items in LIST and print the result.

Use: loops, variables[2]

Test Using:
LIST = ['a','b','c']
LIST = [1,2,3,4,5,6]
LIST = []
Assume you have a non-empty list of numbers Y. Create a new variable that is equal all the numbers in Y multiplied together.

Use: variables, loops[2]

Test Using:
Y = [1,1]
Y = [1,2,3,4,5]
Y = [2,3,56]
Create two strings and join them together with a space between

Use: variables[1]
Set a variable to one value then change that value

Use: variables[1]
Do the sum 25 * 98 and print the result

Use: [1]
Print your first name

Use: [1]