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)
相关推荐
Amo Xiang2 小时前
《100天精通Python——基础篇 2025 第18天:正则表达式入门实战,解锁字符串处理的魔法力量》
python·正则表达式·re
敲键盘的小夜猫3 小时前
Python核心数据类型全解析:字符串、列表、元组、字典与集合
开发语言·python
apcipot_rain4 小时前
【应用密码学】实验五 公钥密码2——ECC
前端·数据库·python
小彭律师4 小时前
门禁人脸识别系统详细技术文档
笔记·python
鸿业远图科技5 小时前
分式注记种表达方式arcgis
python·arcgis
别让别人觉得你做不到6 小时前
Python(1) 做一个随机数的游戏
python
小彭律师7 小时前
人脸识别门禁系统技术文档
python
张小九999 小时前
PyTorch的dataloader制作自定义数据集
人工智能·pytorch·python
zstar-_9 小时前
FreeTex v0.2.0:功能升级/支持Mac
人工智能·python·macos·llm