Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

can you help with this coding? we use replit to run our python programs. below I will provide the requirements for the python program as

can you help with this coding? we use replit to run our python programs. below I will provide the requirements for the python program as well as a sample output.
image text in transcribed
image text in transcribed
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. 1. Ask the user to enter the product name. 2. Ask the user to enter the product's price as a decimal value with no dollar sign. See sample output below. 3. Ask the user to enter the product's current SKU. Display this information to the user. Using your knowledge of Python, modify the entered information in the following ways: 1. Increase price by 10%. 2. Add "New-" to the product name. 3. 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. Sample output Each output below is from one run of the program. I copied my text from the black area. What is the product name? Toothpaste What is the product price? 2.99 What is the product SKU? abcdefghijkl old product name: Toothpaste old price: 2.99 Old SKU: abcdefghijkl New price: 3.2890000000000006 New product name: New-Toothpaste New SKU: CFIL What is the product name? Floss What is the product price? 500 What is the product SKU? makesureyoufloss Old product name: Floss Old price: 500.0 old SKU: makesureyoufloss New price: 550.0 New product name: New-Floss New SKU: KUYFS

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

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

Recommended Textbook for

Fundamentals Of Database System

Authors: Elmasri Ramez And Navathe Shamkant

7th Edition

978-9332582705

More Books

Students also viewed these Databases questions