Commit f90b3630 by BellCodeEditor

save project

parent a43bf1b4
Showing with 27 additions and 21 deletions
import turtle
usename = "python"
import turtle
screen=turtle.Screen()
screen.bgcolor("pink")
pen=turtle.Pen()
pen.penup()
pen.goto(100,-100)
pen.write("你好大傻逼,\n再见大傻逼。",font=("times",30,"normal"))
len=screen.textinput("提示","你想要多大的爱心")
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()
usename = "python"
userpassword = "123456"
a=input("你的账号是啥子?")
b=input("你的密码是啥子?")
if a=="python":
print("正确")
if b=="123456":
print("正确")
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