【英文】使用 else if Posted on 2020-04-12 Edited on 2023-12-09 Views: IntroductionLevel Strategies Source Code12345678for i in 1 ... 2 { moveForward() if isOnClosedSwitch { toggleSwitch() } else if isOnGem { collectGem() }} Completion