Commit 903002be by BellCodeEditor

save project

parent b6c3fba2
Showing with 7 additions and 19 deletions
# 利用write()帮助悟空给诺依回信吧~ zhanghao='pyhhh'
import turtle mima='1314250'
screen = turtle.Screen() bianliang1=input("账号")
j=screen.textinput("提示","爱心的大小") bianliang2=input("密码")
len=int(j) if zhanghao==bianliang1 and mima==bianliang2:
screen.bgcolor("pink") print("登陆成功")
pen1=turtle.Pen() \ No newline at end of file
pen1.penup()
pen1.goto(-12,40)
pen1.write("hh\nhh",font=("Times",20,"normal"))
pen=turtle.Pen()
pen.pensize(10)
pen.pencolor("red")
for i in range(7):
pen.forward(len)
pen.right(105)
pen.hideturtle()
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