# ICE_Ch2TH.py - coding utf-8 Created on Thu Sep 5 10:16:40...

• No School
• AA 1
• 1

This preview shows page 1 out of 1 page.

# -*- coding: utf-8 -*- """ Created on Thu Sep 5 10:16:40 2019 @author: mtperry2 """ """ Part 1:""" """Step 2: """ # Numbe of Oz in a bottle, six- pack, and case od beer: bottleOz = 12 sixpackOz = 72 caseOz = 288 # Prices of a sing bottle, six-pack, and case of beer: pricePerBottle = 1.99 pricePerSixpack = 8.99 pricePerCase = 27.99 # Price per oz in a bottle, six-Pack, and a case of beer: pricePerOzBottle = pricePerBottle / bottleOz pricePerOzSixpack = pricePerSixpack / sixpackOz pricePerOzCase = pricePerCase / caseOz print("Price Per Oz in a Single Bottle of Beer") print("%.2f"%pricePerOzBottle,"\$") print("Price Per Oz in a Six-Pack of Beer") print("%.2f"%pricePerOzSixpack,"\$") print("Price Per Oz in a Case of Beer") print("%.2f"%pricePerOzCase,"\$") """Part 2""" import math # % percetn interest rate in a year and month:
• Fall '19

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern

Ask Expert Tutors You can ask 0 bonus questions You can ask 0 questions (0 expire soon) You can ask 0 questions (will expire )
Answers in as fast as 15 minutes