Answer
Tax is not initialized with some value in starting
Work Step by Step
The given code will give the error which is shown in picture below because the code tax is not initialized with some value in starting.
-tax =0
$code $ $ will$ $ be$
income = 232323 if income <= 10000:
$ $ $ $ $ $ $ $ $ $tax = income * 0.1 elif income > 10000 and income <= 20000:
$ $ $ $ $ $ $ $ $ $tax = 1000 + (income - 10000) * 0.15
print(tax)