Tasks: Assign a list of 5 friends name Allow these 5 friends to enter the number of apples that they have.   Total the apples of all the friends in the list Note: It should not exit from the loop in case they entered a wrong value or character Do not allow a person to enter values that are not in the list of your 5 friends name Not all friends may enter the value Terminate if the word "DONE" is entered, then, display the summary of friends who entered values and the total of apples.

icon
Related questions
Question

python programming

  •  Tasks:
    • Assign a list of 5 friends name
    • Allow these 5 friends to enter the number of apples that they have.  
    • Total the apples of all the friends in the list
    • Note:
      • It should not exit from the loop in case they entered a wrong value or character
      • Do not allow a person to enter values that are not in the list of your 5 friends name
      • Not all friends may enter the value
      • Terminate if the word "DONE" is entered, then, display the summary of friends who entered values and the total of apples.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps

Blurred answer