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
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