Write a Python program to enter Product Name, Quantity, Rate and calculate
Total Amount and display all the details on the screen.
Answers
Answered by
3
Answer:
Explanation:
while True:
productname=input("Enter the name of the product: ")
quantity=int(input("Enter the quantity required: "))
rate=int(input("Enter the rate: "))
totalamount=(quantity*rate)
print("for ",quantity,productname,"Total amount will be ",totalamount)
Answered by
2
Answer:
productname=input( Enter the name of the product )
quantity=int(input( Enter the quantity required )
rate=int(input( Enter the rate )
total amount=( quantity*rate)
print("for ",quantity,productname,"Total amount will be ",total amount)
Similar questions