This is a dedicated watch page for a single video.
Scenario: A Databricks analyst needs to create a user-defined function named calculate_discount to calculate the discounted price based on the original price and a discount percentage. Question: What is the correct syntax to create the calculate_discount function?