0 / 34
Scenario

Fitness Tracker Analytics

๐Ÿ“‹ Context

You're building a simple fitness tracker analysis. You have step counts for 4 weeks (28 days) and need to analyze daily, weekly, and overall performance.

1
2

Step 1: Generate Step Data

๐ŸŽฏ Task

Use seed 7. Generate daily_steps โ€” 28 random integers from 3000 to 15001 (representing realistic step counts). Reshape into weekly โ€” a (4, 7) array (4 weeks ร— 7 days). Print weekly.

rng.integers(3000, 15001, 28) then .reshape(4, 7)
exercise.py
โŒ˜โŽ run ยท โŒ˜โ† โ†’ nav
โ–ถ Output
Run your code to see output here.