机器人
积分排行榜
Scratch
积分排行榜
Python
在线答题
积分排行榜
活跃排行榜
C++
在线答题
积分排行榜
活跃排行榜
网盘
链接
打字练习
Microbit
未登录
未登录
登录学习
作者:
杨若谷
更新时间:
2025-01-17 20:02
浏览:
30次
点赞:
6次
热度:
334
import turtle #宝马 turtle.penup() turtle.goto(-200,-100) turtle.pendown() turtle.fillcolor("blue") turtle.pensize(15) turtle.begin_fill() turtle.circle(50,90) turtle.setheading(180) turtle.pensize(1) turtle.forward(50) turtle.setheading(-90) turtle.forward(50) turtle.end_fill() turtle.pensize(15) turtle.setheading(180) turtle.circle(-50,90) turtle.pensize(1) turtle.setheading(0) turtle.forward(50) turtle.setheading(90) turtle.forward(50) turtle.setheading(0) turtle.pensize(15) turtle.circle(-50,90) turtle.pensize(15) turtle.circle(-50,-90) turtle.circle(-50,-90) turtle.pensize(1) turtle.fillcolor("blue") turtle.begin_fill() turtle.setheading(0) turtle.forward(50) turtle.setheading(90) turtle.forward(50) turtle.setheading(180) turtle.circle(50,90) turtle.end_fill() #奔驰 turtle.up() turtle.goto(0,0) turtle.down() turtle.pensize(5) turtle.left(90) turtle.forward(50) turtle.backward(50) turtle.left(120) turtle.forward(50) turtle.backward(50) turtle.right(120) turtle.right(120) turtle.forward(50) turtle.backward(50) turtle.left(120) turtle.forward(50) turtle.left(-90) turtle.circle(-50) #奥迪 turtle.pencolor("gray") turtle.pensize(10) turtle.penup() turtle.goto(200,100) turtle.pendown() turtle.circle(-50) turtle.penup() turtle.goto(100,100) turtle.pendown() turtle.circle(-50) turtle.penup() turtle.goto(-0,100) turtle.pendown() turtle.circle(-50) turtle.penup() turtle.goto(-110,100) turtle.pendown() turtle.circle(-50)
点赞成功
分享作品
×