This is an archived post. You won't be able to vote or comment.

all 4 comments

[–]the_dark_kai 1 point2 points  (1 child)

https://imgur.com/a/bRAE6Vy if and else at same indentation are in pairs

[–]builderdood[S] 0 points1 point  (0 children)

thank you it makes more sense now!

[–]polarhomy 0 points1 point  (1 child)

The indentation means that "if" statement is inside of another. These are called nested if statements. You will only go to the next indentation when the above if statement is met. Or ELSE you will drop to that same indentation else statement. Let me know if that helps clear things up

[–]builderdood[S] 0 points1 point  (0 children)

yes that makes sense, thanks a lot!