Question: Programming Exercise #1 (Bug Collector): The program should consist of a main function and a loop, which asks the user to enter the number of
Programming Exercise #1 (Bug Collector): The program should consist of a main function and a loop, which asks the user to enter the number of bugs collected each day or one time through the loop. When the loop is finished, the program should display the total number and the average number of bugs collect.
a.Name your Python file Your initial + Bugs.py
b.The user should enter the number of bugs collected each time the loop is executed simulating one dat.
c.At the end of five days, the program should calculate and display the total and average number of bugs collected.
d.Use a loop to record the users number of bugs collected. Each time through the loop is one day.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
