Set discounted ticket price, with a floor of 0 Is there a shorter way to write this?

discounted_price = original_ticket_price - discount_value
if discounted_price &lt; 0:
    discounted_price = 0
Use the built-in max() function:

discounted_price = max(0, original_ticket_price - discount_value)