Aliases, multi-imports, and the `np.` you'll see everywhere — step 6 of 9
Cursor imported math as m on line 1 but then forgot the alias on line 3
and wrote math.sqrt(...) instead. The script crashes with
NameError: name 'math' is not defined.
Fix line 3 so the script prints 9.0 using the alias.
The break is on line 3 — but read the whole snippet first.
⌘↵ runs the editor.read, then continue.
Cursor imported math as m on line 1 but then forgot the alias on line 3
and wrote math.sqrt(...) instead. The script crashes with
NameError: name 'math' is not defined.
Fix line 3 so the script prints 9.0 using the alias.
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.