Commit 00f32ff5 by BellCodeEditor

save project

parent 12dfaa2b
Showing with 7 additions and 19 deletions
import turtle
screen=turtle.Screen()
screen.bgcolor("light blue")
pen=turtle.Pen()
pen.penup()
pen.goto(100,-100)
pen.write("!!!",font=("Times",20,"normal"))
pen.hideturtle()
pen1=turtle.Pen()
pen1.pencolor("red")
pen1.pensize(5)
len=screen.textinput("提示","你想要多大的爱心")
lovesize=int(len)
for i in range(6):
pen1.forward(lovesize)
pen1.right(120)
pen1.hideturtle()
turtle.done()
\ No newline at end of file
name="zhy"
mima="1234567"
name1=input("name?")
mima1=input("mima?")
if name1==name and mima1==mima:
print("成功")
\ 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