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, 6 months ago_vt
Most Recent 3 weeks ago46a1b89
4 months, 3 weeks agomegan_mai
5 months agoJeyTlenJey
7 months, 2 weeks agomplopez
1 year, 7 months agoEllo2023
1 year, 9 months agoEllo2023
1 year, 10 months agovarshu_0708
1 year, 10 months agoivanbicalho
2 years agonaveenbv80
2 years, 3 months agoN9
2 years, 6 months agoPremJaguar
2 years, 7 months agoJiansy90
2 years, 8 months agopalagus
2 years, 9 months ago666_m
2 years, 10 months agomacxsz
2 years, 10 months ago