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)
相关推荐
卷无止境19 分钟前
SALib敏感性分析的python库学习笔记
后端·python
duansamve1 小时前
Python3+Flask+PostgreSQL18+Vue3项目生产环境用docker如何部署?
python·docker·flask
特立独行的猫A2 小时前
少 3 个环节、少 1 次 ABI、少 3500 行代码:cj-tauri 与 Ionic/Capacitor 的鸿蒙桥接机制对比
java·后端·python
特立独行的猫A2 小时前
cj-tauri vs Rust/Tauri 同款播放器实测:编译 21 秒 vs 11 分钟,磁盘 12 MB vs 1.2 GB
java·后端·python
duansamve3 小时前
详解Flask中Session和Cookie
python·flask
威哥爱编程3 小时前
模拟面试智能体开发实战 04:面试聊到哪算哪?用状态机把整场面试编排起来
python·agent·harmonyos
威哥爱编程3 小时前
模拟面试智能体开发实战 03:AI 面试官太客气?人设 Prompt 让它像个真考官
python·agent·harmonyos
量化分析码农4 小时前
股票数据接口返回字段逐项解析:从在线验证到 Python 数据校验
python
Dmz丶4 小时前
前端转 AI 100 天 Day 42:跨模型对比实战——用数据选模型,不靠“听说”
python
路溪非溪5 小时前
python标准库使用总结
开发语言·python