Nov-19-2019, 06:51 PM
Hi, I am a beginner.
I need help. Why the code below doesn't return nothing?
I need help. Why the code below doesn't return nothing?
def tax(year, value):
if year > 2004:
tax = value * 22 / 100
else:
tax = valor * 11 / 100
tax(2005, 100)
print (tax)shows the error (or warning): <function tax at 0x00000000030F47B8>
