ICode国际青少年编程竞赛- Python-1级训练场-基本操作

ICode国际青少年编程竞赛- Python-1级训练场-基本操作

1、

python 复制代码
Dev.step(3)

2、

python 复制代码
Dev.step(1)

3、

python 复制代码
Dev.step(7)

4、

python 复制代码
Dev.step(-1)

5、

python 复制代码
Dev.step(-5)

6、

python 复制代码
Dev.step(3)
Dev.step(-8)

7、

python 复制代码
Dev.turnRight()
Dev.step(1)

8、

python 复制代码
Dev.turnLeft()
Dev.step(1)

9、

python 复制代码
Dev.step(4)
Dev.turnRight()
Dev.step(5)

10、

python 复制代码
Dev.step(5)
Dev.turnLeft()
Dev.step(7)

11、

python 复制代码
Dev.step(1)
Spaceship.step(1)

12、

python 复制代码
Spaceship.step(4)
Dev.step(4)

13、

python 复制代码
Dev.step(5)
Spaceship.step(5)

14、

python 复制代码
Spaceship.turnRight()
Spaceship.step(1)

15、

python 复制代码
Spaceship.turnLeft()
Spaceship.step(1)

16、

python 复制代码
Spaceship.step(5)
Spaceship.turnLeft()
Dev.step(1)
Spaceship.step(5)

17、

python 复制代码
Dev.step(1)
Spaceship.step(5)
Spaceship.turnRight()
Spaceship.step(4)

18、

python 复制代码
Spaceship.turnRight()
Spaceship.turnRight()
Spaceship.step(2)

19、

python 复制代码
Dev.step(3)
Spaceship.turnRight()
Spaceship.turnRight()
Spaceship.step(5)

20、

python 复制代码
Dev.step(-2)
Spaceship.step(4)
Dev.step(2)
相关推荐
沈浩(种子思维作者)5 小时前
真的能精准医疗吗?癌症能提前发现吗?
人工智能·python·网络安全·健康医疗·量子计算
njsgcs6 小时前
ue python二次开发启动教程+ 导入fbx到指定文件夹
开发语言·python·unreal engine·ue
io_T_T6 小时前
迭代器 iteration、iter 与 多线程 concurrent 交叉实践(详细)
python
华研前沿标杆游学6 小时前
2026年走进洛阳格力工厂参观游学
python
Carl_奕然6 小时前
【数据挖掘】数据挖掘必会技能之:A/B测试
人工智能·python·数据挖掘·数据分析
AI小怪兽7 小时前
基于YOLOv13的汽车零件分割系统(Python源码+数据集+Pyside6界面)
开发语言·python·yolo·无人机
wszy18097 小时前
新文章标签:让用户一眼发现最新内容
java·python·harmonyos
Eric.Lee20217 小时前
python实现 mp4转gif文件
开发语言·python·手势识别·手势交互·手势建模·xr混合现实
EntyIU7 小时前
python开发中虚拟环境配置
开发语言·python
wszy18097 小时前
顶部标题栏的设计与实现:让用户知道自己在哪
java·python·react native·harmonyos