jshutb.py
2020-03-20 本文已影响0人
方正俊辰
下方为简书图标绘制
import turtle
turtle.bgcolor(0.5,0.5,0.5)#背景色
turtle.setup(500,500,50,50)
turtle.penup()
turtle.goto(-125,-125)
turtle.pendown()
turtle.pencolor('black')
turtle.pensize(2)
turtle.color('ivory')
turtle.begin_fill()
for i in range(4):
turtle.forward(200)
turtle.circle(50,90)
turtle.end_fill()
turtle.penup()
turtle.goto(-120,-25)
turtle.pendown()
turtle.pencolor('orangered')
turtle.write('简书', font=('Arial', 75, 'normal'))
turtle.penup()
turtle.goto(-500,-500)
turtle.pendown()
turtle.done()
此处为效果图:
)