自由式学习
992人加入学习
(0人评价)
Python基础知识-pycharm版
价格 免费
承诺服务
该课程属于 1443-李同学-算法方向-计算机视觉-就业:是 请加入后再学习

import turtle
turtle.width(10)
turtle.color("blue")
turtle.circle(50)
turtle.color("black")
turtle.penup()
turtle.goto(120,0)
turtle.pendown()
turtle.circle(50)

turtle.penup()
turtle.goto(240,0)
turtle.pendown()
turtle.color("red")
turtle.circle(50)
turtle.color("yellow")
turtle.penup()
turtle.goto(60,-50)
turtle.pendown()
turtle.circle(50)
turtle.color("green")
turtle.penup()
turtle.goto(180,-50)
turtle.pendown()
turtle.circle(50)
 

[展开全文]

import turtle

turtle.width(5)

turtle.color("blue")

turtle。circle(50)

turtle。penup()

turtle。goto(120,0)

turtle.pendown()

turtle。circle(50)

turtle。goto(240,0)

turtle。circle(50)

turtle。goto(60,-50)

turtle。circle(50)

turtle。goto(180,-50)

turtle。circle(50)

[展开全文]
#绘制五环
import turtle
turtle.width(10) # 设置宽度
turtle.color("blue")
turtle.circle(50)

turtle.penup() #跟()
turtle.goto(120,0)
turtle.pendown() #跟()
turtle.color("black")
turtle.circle(50)

turtle.penup()
turtle.goto(240,0)
turtle.pendown()
turtle.color("red")
turtle.circle(50)

turtle.penup()
turtle.goto(60,-50)
turtle.pendown()
turtle.color("yellow")
turtle.circle(50)

turtle.penup()
turtle.goto(180,-50)
turtle.pendown()
turtle.color("green")
turtle.circle(50)

 

[展开全文]