promptdojo_
Checkpoint

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

Last one. Cursor wrote a one-page script that's supposed to print today's year using datetime, but the imports are wrong. Three things to fix:

  1. The first line uses import datetime as dt but then later calls datetime.now() directly — those don't match.
  2. The second line from datetime import * is the antipattern. Replace it with a targeted from datetime import datetime.
  3. After fixing the first two, the third line works on its own — but remove the redundant first line entirely. You only need one of the two ways to reach datetime.now().

After the fix, the script should print the current year (a 4-digit number). We'll grade by checking the output is 2026 (matches the current year).

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.