If the indentation is correct then answer is 3
a=2
if a>0:
a+=1
else:
a-=1
print(a)
If the indentation is not correct, the answer is "the code will be erroneous"
a=2
if a>0:
a+=1
else:
a-=1
print(a)
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
locloc91
Highly Voted 5 years, 3 months ago46a1b89
Most Recent 1 month agomegan_mai
1 month, 1 week agoJeyTlenJey
3 months, 4 weeks agomplopez
1 year, 4 months agoEllo2023
1 year, 6 months agoEllo2023
1 year, 6 months agovarshu_0708
1 year, 6 months agoivanbicalho
1 year, 9 months agonaveenbv80
1 year, 11 months agoN9
2 years, 2 months agoPremJaguar
2 years, 4 months agoJiansy90
2 years, 5 months agopalagus
2 years, 6 months ago666_m
2 years, 6 months agomacxsz
2 years, 6 months agogherulloa
2 years, 7 months ago