Skip to content
keshav549 edited this page Nov 24, 2020 · 1 revision

Welcome to the Bill-Calculation wiki! def calSI():

  1. input product name as p p=(input("Enter Product name : "))
  2. input quantity as q q = int(input("Enter quantity : "))
  3. input price per unit as r r = int(input("Enter price per unit : Rs."))
  4. calculate basic Bill as b = q*r b = q*r
  5. calculate Total Bill as T = 18/100*b + b T = 18/100 * b+b
  6. print Product name print("Product name : ",p)
  7. print quantity print ("quantity : ",q)
  8. print price per unit print("price per unit : Rs.",r)
  9. print Basic Bill print("Basic Bill :Rs.",b)
  10. print Total Bill print ("Total Bill :Rs.",T)

calSI()

Clone this wiki locally