Learn to code with step-by-step lessons. A place for students to work through programming fundamentals and build skills.
A fitness tracker shows steps for each day of the week. Ask for 7 positive integers (one per day). Print the average steps per day (a float is fine).
Use a for loop to read the seven values.
Skills: for, range(7), sum and divide.