Question: in python A Personal Fitness Tracker is a wearable device that tracks your physical activity, calories burned, heart rate, sleeping patterns, and so on. One

 in python A Personal Fitness Tracker is a wearable device thatin python

A Personal Fitness Tracker is a wearable device that tracks your physical activity, calories burned, heart rate, sleeping patterns, and so on. One common physical activity that most of these devices track is the number of steps you take each day A file named 'steps.txt' contains the number of stops a person has taken each day for a year. There are 365 lines in the file, and each line contains the number of steps taken during a day. (The first line is the number of steps taken on January 1st, the second line is the number of steps taken on January 2nd, and so forth.) Write a Python program that read the file, then displays the average number of steps taken for each month. (The data is from a year that was not a leap your, so February has 28 days) (Set the decimal precision to 1) Input Correct Output The average stops taken in January was 5.246.1 The average steps taken in February was 4,851.9 The average steps taken in March was 5,7776 The average steps taken in April was 5,802.1 The average steps taken in May was 4.711.5 no ser input the verge taps taken in July was 5.6382 The average steps taken in June was 4,7923 The average steps taken in August was 5.750,0 The average steps taken in September was 6,1140 The average steps taken in October was 5,411.0 The average steps taken in November was 4.268.8 The average steps taken in December was 5,138.1 14) Problem 4 code

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!