Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

# The below script will ask for 3 inputs. Each input will be based # on the price of the items - the price is

# The below script will ask for 3 inputs. Each input will be based

# on the price of the items - the price is determined by you. The output

# should print the total of the 3 inputs rounded to 2 decimal places e.g

#

# 1 coffee @ $ 2.00

# 1 sandwich @ $ 4.99

# 1 cake @ $ 2.75

#

# Your total bill is $ 9.74

# Modify the line below

coffee = input('1 coffee @: $ ')

# Modify the line below

sandwich = input('1 sandwich @:')

# Modify the line below

cake = input('1 cake @: $ ')

bill_total=coffee+sandwich+cake

print('Your total bill is $ ', rounded)

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

Oracle Databases On The Web Learn To Create Web Pages That Interface With Database Engines

Authors: Robert Papaj, Donald Burleson

11th Edition

1576100995, 978-1576100998

More Books

Students also viewed these Databases questions

Question

Explain in detail the different methods of performance appraisal .

Answered: 1 week ago