Question: PARTICIPATION ACTIVITY 5 . 5 . 3 : For loops. Fill in the missing code to perform the desired calculation. 1 ) Compute the average
PARTICIPATION ACTIVITY
: For loops.
Fill in the missing code to perform the desired calculation.
Compute the average number of kids.
# Each list item is the number of kids in a family.
numkids
total
for num in numkids:
total
average total lennumkids
Check
Show answer
Assign numneg with the number of belowfreezing Celsius temperatures in the list.
temperatures
numneg
for temp in temperatures:
if temp :
Check
Show answer
Print scores in order from highest to lowest. Note: List is presorted from lowest to highest.
scores
for scr in
:
printscr end
Check
Show answer
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
