ICode国际青少年编程竞赛- Python-1级训练场-路线规划
1、
Dev.step(3)
Dev.turnLeft()
Dev.step(4)
2、
Dev.step(3)
Dev.turnLeft()
Dev.step(3)
Dev.step(-6)
3、
Dev.step(-2)
Dev.step(4)
Dev.turnLeft()
Dev.step(3)
4、
Dev.step(2)
Spaceship.step(2)
Dev.step(3)
5、
Dev.step(3)
Dev.turnLeft()
Dev.step(-1)
Dev.step(4)
6、
Dev.step(4)
Dev.turnLeft()
Dev.step(2)
Dev.turnLeft()
Dev.step(2)
Dev.step(-4)
7、
Dev.step(2)
Dev.turnRight()
Dev.step(3)
Dev.turnRight()
Dev.step(1)
Dev.step(-4)
8、
Dev.step(2)
Dev.turnRight()
Dev.step(4)
Dev.step(-2)
Dev.turnLeft()
Dev.step(2)
9、
Spaceship.step(3)
Spaceship.turnRight()
Spaceship.step(3)
Spaceship.turnLeft()
Spaceship.step(2)
10、
Dev.step(1)
Spaceship.step(3)
Spaceship.turnRight()
Spaceship.step(3)
Spaceship.turnLeft()
Spaceship.step(3)
11、
Spaceship.step(6)
Spaceship.turnRight()
Spaceship.step(5)
Spaceship.turnRight()
Spaceship.turnRight()
Spaceship.step(10)
12、
Spaceship.step(1)
Dev.step(1)
Dev.turnLeft()
Dev.step(1)
Spaceship.step(2)
Dev.step(2)
13、
Spaceship.step(1)
Spaceship.turnLeft()
Spaceship.step(4)
Spaceship.turnLeft()
Spaceship.step(2)
Dev.step(-3)
Spaceship.step(3)
14、
Spaceship.step(2)
Spaceship.turnRight()
Spaceship.turnRight()
Spaceship.step(4)
Spaceship.turnLeft()
Spaceship.step(4)
15、
Spaceship.step(3)
Spaceship.turnLeft()
Spaceship.step(4)
Spaceship.turnRight()
Spaceship.step(2)
Spaceship.turnRight()
Spaceship.turnRight()
Spaceship.step(5)
16、
Dev.step(5)
Dev.step(-2)
Dev.turnLeft()
Dev.step(3)
Dev.turnLeft()
Dev.step(1)
Dev.step(-1)
Dev.turnRight()
Dev.step(3)
17、
Dev.step(1)
Spaceship.step(2)
Spaceship.turnLeft()
Spaceship.step(4)
Spaceship.turnRight()
Spaceship.step(2)
Dev.step(-2)
18、
Spaceship.step(2)
Spaceship.turnRight()
Spaceship.step(6)
Spaceship.turnRight()
Spaceship.step(1)
Dev.turnRight()
Dev.step(1)
Spaceship.turnRight()
Spaceship.turnRight()
Spaceship.step(2)
Spaceship.turnLeft()
Spaceship.step(6)
Dev.step(1)
19、
Dev.step(7)
Dev.turnLeft()
Dev.step(2)
Dev.step(-4)
Spaceship.step(3)
Spaceship.turnRight()
Spaceship.step(5)
Spaceship.turnLeft()
Spaceship.step(1)
Dev.step(-1)
20、
Spaceship.step(2)
Spaceship.turnRight()
Spaceship.step(1)
Dev.step(1)
Spaceship.step(1)
Spaceship.turnLeft()
Spaceship.step(1)
Dev.step(4)
Dev.step(-1)
Dev.turnLeft()
Dev.step(-1)
Dev.step(4)