CBSE Class 11 Computer Science
Question 50 of 80
Getting Started with Python — Question 15
Back to all questionsStep 1: INPUT price
Step 2: INPUT quantity
Step 3: COMPUTE total_bill = price * quantity
Step 4: COMPUTE gst_amount = total_bill * 0.05
Step 5: COMPUTE bill_with_gst = total_bill + gst_amount
Step 6: PRINT "Total Bill: ₹" + total_bill
Step 7: PRINT "Bill with GST: ₹" + bill_with_gst