Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using Python: Write the pseudo code first and then write a Python function that will take an initial item price and return that item's price

Using Python:

Write the pseudo code first and then write a Python function that will take an initial item price and return that item's price at the end of the week.Test this with the initial price of $10.00

The Last Stop Boutique is having a five-day sale. Each day, starting on Monday, the price will drop 10% of the previous days price. For example, if the original price of a product is $20.00, the sale price on Monday would be $18.00 (10% less than the original price). On Tuesday the sale price would be $16.20 (10% less than Monday). On Wednesday the sale price would be $14.58; on Thursday the sale price would be $13.12; and on Friday the sale price would be $11.81. Develop a solution that will calculate the price of an item for each of the five days, given the original price. Test the solution for an item costing $10.00.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data Management Databases And Organizations

Authors: Richard T. Watson

2nd Edition

0471180742, 978-0471180746

More Books

Students also viewed these Databases questions

Question

6. Knowledge management.

Answered: 1 week ago

Question

=+ Who is the negotiation partner at company level?

Answered: 1 week ago

Question

=+Which associations exist?

Answered: 1 week ago