Question: Define two Python functions month _ days ( month ) takes an integer argument for the month number ` month ` , returns the number

Define two Python functions
month_days(month) takes an integer argument for the month number `month`, returns the number of days for the month.
step_tracker()
read the step values in 365 days from steps.txt,
print the daily average number of steps taken for each month
return the daily average number of steps taken for the year
Call step_tracker function in the if __name__=='__main__' statement. Print the daily average for the year.

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 Programming Questions!