promptdojo_

Imports, pip, and the venv that can't see your package — step 8 of 8

Checkpoint

One last thing before we move on. Same surface as a write step — but the lesson doesn't complete until this passes.

One last thing. The starter script is supposed to use pi from the math module to compute the area of a circle with radius 5. The import line and the math line are both missing.

Finish lines 1 and 4 so the script prints area: 78.53981633974483.

Use from math import pi so you can write just pi without the math. prefix.

full-screen editor opens — close anytime to keep reading.