Commit dd2dd07e by BellCodeEditor

save project

parent b2e731d0
Showing with 9 additions and 2 deletions
...@@ -3,9 +3,9 @@ import turtle ...@@ -3,9 +3,9 @@ import turtle
screen=turtle.Screen() screen=turtle.Screen()
screen.bgcolor("light green") screen.bgcolor("light green")
len=screen.textinput("100","100") len=screen.textinput("100","100")
len=int(len) lovesip=int(len)
pen=turtle.Pen() pen=turtle.Pen()
pen.write("你好\ndyyk.",font=("Times",40,"normal")) pen.write("你好\ndyyk.",font=("Times",30,"normal"))
pen.hideturtle() pen.hideturtle()
len=60 len=60
pen.penup() pen.penup()
......
username = "python"
Userpassword="123456"
name=input("请输入用户名:")
password=input("请输入密码:")
if name==username and password==Userpassword:
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