Question: Q13 Python [15 marks] A bookstore is organising an online sale. All books on the website are now $15 + 10% GST. If the total

 Q13 Python [15 marks] A bookstore is organising an online sale.

Q13 Python [15 marks] 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

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!