Commit 903002be by BellCodeEditor

save project

parent b6c3fba2
Showing with 7 additions and 19 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
screen = turtle.Screen()
j=screen.textinput("提示","爱心的大小")
len=int(j)
screen.bgcolor("pink")
pen1=turtle.Pen()
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()
zhanghao='pyhhh'
mima='1314250'
bianliang1=input("账号")
bianliang2=input("密码")
if zhanghao==bianliang1 and mima==bianliang2:
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