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