Assignment 7 — multi-input problem solving

Due time: Wednesday, September 9


Download


Program all_consuming.py


Assumptions


Requirements


Suggested agorithm


Three program runs

What is something you consume daily? paper napkins

How much consumed on a normal weekday: 6

How much consumed on a normal weekend day: 0

You consume 1560 paper napkins per year.

What is something you consume daily? pretzels

How much consumed on a normal weekday: 0

How much consumed on a normal weekend day: 1

You consume 104 pretzels per year.

What is something you consume daily? jelly beans

How much consumed on a normal weekday: 4

How much consumed on a normal weekend day: 12

You consume 2288 jelly beans per year.


 


  © 2020 Jim Cohoon   Resources from previous semesters are available.