Nov-19-2019, 07:09 PM
(This post was last modified: Nov-19-2019, 07:10 PM by gontajones.)
Maybe this way will be more easy to understand:
def get_tax(year, value): if year > 2004: tax = value * 22 / 100 else: tax = value * 11 / 100 return tax tax = get_tax(2005, 100) print(tax)