Imports, pip, and the venv that can't see your package — step 7 of 8
Claude wrote this and it crashes with NameError: name 'sqrt' is not defined.
The math module is imported fine on line 1, but line 3 calls sqrt(25)
without saying which module it came from.
Fix line 3 so the script prints 5.0.
The break is on line 3 — but read the whole snippet first.
⌘↵ runs the editor.read, then continue.
Claude wrote this and it crashes with NameError: name 'sqrt' is not defined.
The math module is imported fine on line 1, but line 3 calls sqrt(25)
without saying which module it came from.
Fix line 3 so the script prints 5.0.
The break is on line 3 — but read the whole snippet first.
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.