Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Securing SQL Server Protecting Your Database From Attackers

Authors: Denny Cherry

1st Edition

1597496251, 978-1597496254

More Books

Students also viewed these Databases questions