Commit 7b48f2f2 by BellCodeEditor

save project

parent 0510d37a
Showing with 9 additions and 11 deletions
username = "python" import turtle as t
userpassword = "123456" screen=t.Screen()
while True: size=int(screen.textinput("提示","多大的魔法阵?"))
name = input("请输入用户名:") t.circle(size)
password = input("请输入密码:") t.circle(size,360,3)
if name == username and password == userpassword: t.circle(size,60)
print("登录成功!") t.circle(size,360,3)
break t.done()
print("用户名和密码错误!请重新输入") \ No newline at end of file
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