CSCI 151

CSCI 151: WEEK 4 Lab 6/7

Skill set for this LAB:


PART 1: Lab Practice
PART 2:

For the program below, answer the following questions:


X = "Python"
C = 5
D = 3
E = C/D
K = C//D
M = C%D - 2*E
Y = C*D**4


Part 2 (40 points):

Write a program that reads the number of days the person stays in the hotel, the price of the hotel per day, and the tax (integer). The program finds and prints the total price of the hotel stay.