Question: # 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

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 Databases Questions!