Computer Science, asked by gautamsharma2005, 1 day ago

Write a python program to find the sale price of an item with a given cost and discount(%)

Answers

Answered by NotThareesh
3

Answer:

def sale_price(price: int, discount: float):

   return f"The sales price of the item is {price - (price*discount*0.01)}"

   

print(sale_price(price=1000, discount=10.0))

Similar questions