Q5) Accept the cost of 1 pen from the user. Find the total
amount to be paid FOR 10 PENS and print it.
Q5) Accept the cost of 1 pen from the user. Find the total
amount to be paid FOR 10 PENS and print it.
Answers
Answered by
0
Answer:
cost = int (input" Enter cost of pen "))
price = cost*10
print ("Total amount for 10 pens is", price)
Similar questions