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)
โโ run ยท โโ โ nav
โถ Output
Run your code to see output here.