Commit c76a6285 by BellCodeEditor

save project

parent 46d400c5
Showing with 23 additions and 34 deletions
import turtle
#背景颜色
screen=turtle.Screen()
screen.bgcolor("light blue")
#写字
pen=turtle.Pen()
pen.penup()
pen.goto(100,-100)
pen.write("嗨嗨嗨\n我又来啦昂\n今天吃秘制小汉堡",font=("Time",20,"normal"))
pen.hideturtle()
#画爱心
pen1=turtle.Pen()
pen1.pencolor("red")
pen1.pensize(1)
pen1.left(45)
pen1.forward(100)
pen1.circle(50,180)
pen1.right(90)
pen1.circle(50,180)
pen1.forward(100)
pen1.hideturtle()
turtle.done()
\ No newline at end of file
'''
设置粗细
设置颜色
转向
u爱知县
花瓣元
转向
画直线
隐藏
展开画布
'''
'''
import turtle as t
t.write("老师好,老师再见,拉屎\n,哈哈还,拉了啊,我要\n去吃大便,太裤\n辣,爱坤#%&……@¥#¥\n%¥¥\n……&¥&)&&¥@#\n!R……………………,蔡徐坤",font=("times",30,"normal"))
t.pensize(5)
t.pencolor("red")
t.left(45)
t.forward(100)
t.circle(50,180)
t.right(90)
t.circle(50,180)
t.forward(100)
t.hideturtle()
t.done()
'''
import turtle as t
t.pensize(10)
t.pencolor("green")
for i in range:
t.forward(100)
t.right(90)
t.done()
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment