如果我有两个if语句然后是else,我怎么知道else适用哪个if语句?是缩进吗?比如这个,
if x == 2: if y == 3: x = y else: y = x
else引用哪个if语句?
python if-statement
if-statement ×1
python ×1