promptdojo_

Cursor wrote a function that prints the doubled number instead of returning it. The caller on line 5 needs the value to do math with. Right now result is None and line 6 crashes with a TypeError.

Fix the function so the script prints doubled plus one: 15.

The break is on line 2 — 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.

open this same url on a laptop to keep going today.