ICode国际青少年编程竞赛- Python-1级训练场-路线规划

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)
相关推荐
java1234_小锋8 分钟前
【NLP舆情分析】基于python微博舆情分析可视化系统(flask+pandas+echarts) 视频教程 - 热词数量分析日期统计功能实现
python·自然语言处理·flask
山烛24 分钟前
KNN 算法中的各种距离:从原理到应用
人工智能·python·算法·机器学习·knn·k近邻算法·距离公式
guozhetao36 分钟前
【ST表、倍增】P7167 [eJOI 2020] Fountain (Day1)
java·c++·python·算法·leetcode·深度优先·图论
墨染点香42 分钟前
第七章 Pytorch构建模型详解【构建CIFAR10模型结构】
人工智能·pytorch·python
阿什么名字不会重复呢1 小时前
在线工具+网页平台来学习和操作Python与Excel相关技能
python·数据分析
Vertira2 小时前
python 阿里云 安装 dashscope的简介、安装
开发语言·python
gc_22992 小时前
学习Python中Selenium模块的基本用法(1:简介)
python·selenium
先做个垃圾出来………3 小时前
2116. 判断一个括号字符串是否有效
python
兮℡檬,4 小时前
房价预测|Pytorch
人工智能·pytorch·python
im_AMBER7 小时前
学习日志19 python
python·学习