Commit f90b3630 by BellCodeEditor

save project

parent a43bf1b4
Showing with 27 additions and 21 deletions
import turtle usename = "python"
import turtle usename = "python"
screen=turtle.Screen() userpassword = "123456"
screen.bgcolor("pink") a=input("你的账号是啥子?")
pen=turtle.Pen() b=input("你的密码是啥子?")
pen.penup() if a=="python":
pen.goto(100,-100) print("正确")
pen.write("你好大傻逼,\n再见大傻逼。",font=("times",30,"normal")) if b=="123456":
len=screen.textinput("提示","你想要多大的爱心") print("正确")
sb1=int(len)
pen.hideturtle()
pen1=turtle.Pen()
pen1.pensize(5)
pen1.color("red")
pen1.left(45)
pen1.forward(sb1*2)
pen1.circle(sb1,180)
pen1.right(90)
pen1.circle(sb1,180)
pen1.forward(sb1*2)
turtle.done()
import turtle
import turtle
screen=turtle.Screen()
screen.bgcolor("pink")
pen=turtle.Pen()
pen.hideturtle()
pen.left(70)
pen.forward(100)
pen.right(140)
pen.forward(100)
pen.right(140)
pen.forward(110)
pen.right(150)
pen.forward(118)
pen.right(149)
pen.forward(110)
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