Answered step by step
Verified Expert Solution
Question
1 Approved Answer
student _ dict is a dictionary with students' name and pedometer reading pairs. A new student is read from input and added into student _
studentdict is a dictionary with students' name and pedometer reading pairs. A new student is read from input and added into studentdict. For each student in studentdict, output the student's name, followed by s pedometer reading: and the student's pedometer reading. Then, assign averagevalue with the average of all the pedometer readings in studentdict. studentdict
'Abe':
'Zoe':
'Zak':
'Gus':
name input
lengthinm intinput
studentdictname lengthinm
Your code goes here
printfAverage pedometer reading: averagevalue:f
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started