Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Case scenario You are working at a retail store and your manager has an issue. Many brands are coming out with new items and your

Case scenario

You are working at a retail store and your manager has an issue. Many brands are coming out with new items and your manager needs a way to modify SKUs and prices for old products. You offer to help by writing a Python program where the manager can enter a product name, price, and old SKU, and your program will output a new name, new price, and new SKU.

What your Python program should do

Create a new repl for this lab.

Ask the user to enter the products price as a decimal value with no dollar sign, the product name, and the products current SKU. All of this information should be on one line. Separate each piece of information with a comma but no spaces. Please see the sample output below.

Display this information to the user.

Using your knowledge of Python, modify the entered information in the following ways:

Increase price by 10%.

Add New- to the product name.

Create a new SKU which is every third letter of the old SKU. Each letter in the new SKU must be capitalized.

Display this new information to the user.

Please paste code below with photo of the output if possible, thank you!

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

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

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

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

Get Started

Students also viewed these Databases questions