Question: Write a program that calculates how much Mary should pay for buying 3 KitKat each worth $ 2 and 2 Twix chocolate each worth $

Write a program that calculates how much Mary should pay for buying 3 KitKat each worth $2 and 2 Twix chocolate each worth $4.
Output:
PS C:IUsers\mvimalcruz\Desktop\Python\Lab\Lab2> & "C:/Program Files/Python39/python.exe" c:/Users/mvimalcruz/Desktop/Python/Lab/Lab2/lab2-7.py
Mary should pay $14.
Write a program that calculates how much Mary

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!