ICode国际青少年编程竞赛- Python-2级训练场-列表入门

ICode国际青少年编程竞赛- Python-2级训练场-列表入门

1、

python 复制代码
Dev.step(3)

2、

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

3、

python 复制代码
Flyer.step(1)
Spaceship.step(7)

4、

python 复制代码
Flyer.step(5)
Dev.turnRight()
Dev.step(5)
Dev.turnLeft()
Dev.step(3)
Dev.turnLeft()
Dev.step(7)
Dev.turnLeft()
Dev.step(2)

5、

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

6、

python 复制代码
Flyer[2].step(1)
Dev.step(3)

7、

python 复制代码
Flyer[3].step(1)
Flyer[4].step(1)
Dev.step(10)

8、

python 复制代码
Flyer[0].step(1)
Flyer[2].step(1)
Dev.step(4)

9、

python 复制代码
Flyer[0].step(1)
Flyer[1].step(2)
Dev.step(4)
Dev.turnLeft()
Dev.step(1)

10、

python 复制代码
Flyer[0].step(1)
Flyer[1].step(2)
Flyer[2].step(1)
Dev.step(1)
Dev.turnLeft()
Dev.step(3)
Dev.turnRight()
Dev.step(4)
Dev.turnRight()
Dev.step(3)
Dev.turnLeft()
Dev.step(1)

11、

python 复制代码
Flyer[0].step(4)
Flyer[2].step(3)
Dev.step(2)
Dev.turnLeft()
Dev.step(1)
Dev.turnRight()
Dev.step(6)
Dev.turnRight()
Dev.step(1)
Dev.turnLeft()
Dev.step(2)

12、

python 复制代码
Flyer[3].step(1)
Flyer[2].step(2)
Flyer[0].step(1)
Flyer[1].step(1)
Spaceship.step(4)

13、

python 复制代码
Flyer[0].step(2)
Flyer[1].step(2)
Spaceship.step()
Dev.step(3)
Dev.step(-6)
Dev.turnRight()
Dev.step(1)
Dev.step(-3)

14、

python 复制代码
Flyer[0].step(3)
Flyer[3].step(1)
Flyer[2].step(2)
Flyer[1].step(2)
Dev.step(3)
Dev.turnRight()
Dev.step(2)
Dev.turnLeft()
Dev.step(2)
Dev.turnRight()
Dev.step(1)

15、

python 复制代码
Flyer[1].step(1)
Flyer[2].step(1)
Dev.step(1)
Spaceship.step(3)
Dev.step(1)
Dev.turnRight()
Dev.step(2)
Dev.step(-4)

16、

python 复制代码
Flyer[2].step(1)
Flyer[4].step(1)
Flyer[3].step(1)
Flyer[5].step(1)
Flyer[6].step(3)
Spaceship.step(4)
Spaceship.turnRight()
Spaceship.step(3)

17、

python 复制代码
Flyer[5].step(1)
Flyer[8].step(1)
Flyer[7].step(1)
Spaceship.step(4)
Spaceship.turnRight()
Spaceship.step(3)
Spaceship.turnRight()
Spaceship.turnRight()
Dev.turnRight()
Dev.step(1)
Spaceship.step(3)

18、

python 复制代码
for i in range(3):
    Flyer.step(2)
    Dev.step(5)
    Dev.step(-5)
    Spaceship.step(2)

19、

python 复制代码
for i in range(3):
    Flyer[0].step(3)
    Flyer[1].step(3)
    Dev.step(6)
    Dev.turnRight()

20、

python 复制代码
for i in range(2):
    Flyer.step(4)
    Dev.step(4)
    Dev.turnRight()
Dev.step(4)
相关推荐
爱隐身的官人30 分钟前
爬虫基础学习-爬取网页项目(二)
前端·爬虫·python·学习
刘恒1234567892 小时前
Pycharm
ide·python·pycharm
今***b5 小时前
Python 操作 PPT 文件:从新手到高手的实战指南
java·python·powerpoint
程序员杰哥6 小时前
Jmeter+Jenkins接口压力测试持续集成
自动化测试·软件测试·python·测试工具·jmeter·jenkins·压力测试
Java开发-楠木6 小时前
【猿人学】web第一届 第13题 入门级 cookie
爬虫·python
司徒轩宇7 小时前
Python secrets模块:安全随机数生成的最佳实践
运维·python·安全
用户785127814708 小时前
源代码接入 1688 接口的详细指南
python
vortex58 小时前
Python包管理与安装机制详解
linux·python·pip
辣椒http_出海辣椒9 小时前
如何使用python 抓取Google搜索数据
python
Ciel_75219 小时前
AmazeVault 核心功能分析,认证、安全和关键的功能
python·pyqt·pip