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)
⌘⏎ run · ⌘← → nav
▶ Output
Run your code to see output here.