在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):takluyver/mobilechelonian开源软件地址(OpenSource Url):https://github.com/takluyver/mobilechelonian开源编程语言(OpenSource Language):JavaScript 96.5%开源软件介绍(OpenSource Introduction):"Nevertheless... the turtle moves!" - Small Gods, by Terry Pratchett This is a Turtle module for the Jupyter Notebook. It's based on code by aspidites, one of two groups at Macewan University that built Turtle as a class assignment (the other was PACattack; I could have based this on either, but I had to pick one). Install it in a terminal/command prompt with: pip install mobilechelonian Using it looks like this: from mobilechelonian import Turtle t = Turtle() t.speed(5) colours=["red","blue","yellow","brown","black","purple","green"] t.penup(); t.left(90); t.forward(200);t.right(90);t.pendown() for i in range (0,18): t.pencolor(colours[i%7]) t.right(20) t.forward(50) t.right(180) t.home() |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论