# puzzle gauntlet easy

Which Step Crosses?

Staircase game: step 1 is worth 1 point, step 2 worth 2, step 3 worth 3… your running total grows fast. 🪜

You get a target. Print the first step number where the running total reaches or passes the target.

Example:

Input: target = 10 Output: 4

The running total climbs 1, 3, 6, 10 — it first reaches (or passes) 10 on step 4.

💡 need a hint?

pg-which-step-crosses.py🔒 given lines are locked — write your code in between
loading...