Imports, pip, and the venv that can't see your package — step 8 of 8
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.
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.
this step needs the editor
on desktop today; in the app (coming soon). save your spot and we'll bring you back here when you're ready.