Program L15

A bug collector collects bugs every day until he or she has at least 100 bugs. For each day, input the number of bugs for that day. Output the total number of days and the total number of bugs.

Program L17

A customer in a book club gets points when the buy books, based on the number of books they buy. Input the number of books, and output the number of points according to the rules below. Use appropriate comments, prompt and labels:

0 books, 0 points
1 book, 5 points
2 books, 15 points
3 books, 30 points
4 or more books, 60 points.

Program L18

Input the names of three runners and the time it took them to finish the a race. You may input the time in seconds. Your program must allow them to be entered in any order. Print out the names and times of the runners in the order of their finish. You may use if, elif, and else, but not the sort function. Print them one runner per line.

Academic Honesty!
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly complete the form. Please provide a valid email address and we will get back to you within 24 hours. Payment is through PayPal, Buy me a Coffee or Cryptocurrency. We are a nonprofit organization however we need funds to keep this organization operating and to be able to complete our research and development projects.