def calculate_discount(price, discount): # Calculate the final price after discount final_price = price - (price * discount / 100) print(f”The final price after a {discount}% discount is: {final_price}”) return final_price # Example usage calculate_discount(100, 10)