Commit 56680f66 by BellCodeEditor

save project

parent 4ed2c1a3
Showing with 28 additions and 2 deletions
......@@ -10,4 +10,31 @@ while True:
print("不要瞎打用户名")
if password!=userpassword:
print("盗号要认真")
print("欢迎来到贝尔编程!")
\ No newline at end of file
import turtle
screen=turtle.Screen()
screen.bgcolor("light pink")
len=screen.textinput("提示","你想要多大的爱心:")
lovesize=int(len)
pen=turtle.Pen()
pen.hideturtle()
pen.color("black")
pen.penup()
pen.goto(100,-300)
pen.down()
pen.write("你好,\nSB诺伊\n,我会用python\n写字了!!!SBSB",font=("黑体",25,"normal"))
pen1=turtle.Pen()
pen1.color("red")
pen1.fillcolor("red")
pen1.begin_fill()
pen1.pensize(30)
pen1.up()
pen1.goto(-200,-100)
pen1.down()
pen1.lt(45)
pen1.fd(lovesize*2)
pen1.circle(lovesize,180)
pen1.rt(90)
pen1.circle(lovesize,180)
pen1.fd(lovesize*2)
pen1.end_fill()
turtle.done()
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