Question 6: What will be the output of the following code snippet?
income = 1000
if income>2000:
tax=500
else:
tax=0
print(tax)
Question 7: What is true about the elif keyword:
Question 6: What will be the output of the following code snippet?
income = 1000
if income>2000:
tax=500
else:
tax=0
print(tax)
Question 7: What is true about the elif keyword: