Commit 58d2cc08 by BellCodeEditor

save project

parent 4b2e26e6
Showing with 9 additions and 10 deletions
import turtle username = "python"
screen=turtle.Screen() userpassword = "123456"
len=screen.textinput("233","大小") x=input("请输入账号:")
jsize=int(len) y=input("请输入密码:")
pen=turtle.Pen() if x==username and y==userpassword:
for i in range(4): print("密码正确")
pen.forward(jsize) else:
pen.left(90) print("密码错误")
turtle.done() \ No newline at end of file
\ 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