Code Writer
Level 3, 2026-10-02
Answers should be legal Python code, including indentation. Use the underscore _ to show a space.
Special functions: print(), range(), sqrt(), str()
Print each number from 0 to 43

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

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

Use: variables[1]
Use a loop to add the numbers from 0 to 28

Use: variables, loops[2]
Assume you have a non-empty list of numbers A. Write code to find the smallest number in the list.

Use: variables, loops, if[2]

Test Using:
A = [1,2,3]
A = [3,2,1,0]
A = [70,18,43]
Use a loop to multiply the numbers from 6 to 18

Use: variables, loops[2]
Use a loop to multiply the numbers from 8 to 20

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

Use: variables, loops[2]
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 = [95,28,10]