Python A bookstore is organising an online sale. All books on the website are now $15 +
Fantastic news! We've Found the answer you've been seeking!
Question:
Python A bookstore is organising an online sale. All books on the website are now $15 + 10% GST. If the total price is higher than $100, the shipping is free, else a $10 fee is added. Write a Python program to calculate the total price, based on how many books are ordered. Your program will take the number of books bought as user input, and will output the final price, including GST and shipping. Note: i. You must use variables for all values, including constant values. ii. You must name the variables meaningfully (e.g. gst, total_price, shipping_fees, number_of_books). Avoid single letter variable names. Two examples of the program being run are given below. Follow the formatting used in the examples for asking the user for values and printing the result. User input is indicated in the examples with bold and italicized font. Example 1: Enter the number of books you want to buy: 2 Shipping fees = $ 10 The total cost for your order today is: $ 43.0 Example 2: Enter the number of books you want to buy: 10 Free shipping The total cost for your order today is: $ 165.0
Related Book For
Auditing The Art and Science of Assurance Engagements
ISBN: 978-0133098235
12th Canadian edition
Authors: Alvin A. Arens, Randal J. Elder, Mark S. Beasley, Ingrid B. Splettstoesser
Posted Date: