Commit f9d03d1b by BellCodeEditor

save project

parent 308f83db
Showing with 6 additions and 14 deletions
username = "python" # 保存在服务器数据库中的用户账号(正确的账号) import turtle
userpassword = "123456" # 保存在服务器数据库中的用户密码(正确的密码) pen=turtle.Pen()
pen.write("诺依,\nturtle真不好用,\n我到现在还不会在\n画布上写字!",font=("Times",30,"normal"))
# 请用input()实现用户输入账号、密码的功能 pen.hideturtle()
while Ture : turtle.done()
a=input('请输入账号密码') \ No newline at end of file
b=input("密码")
# 如果用户输入的账号、密码正确,提示登陆成功
if username == a and userpassword==b:
print("s")
break
else:
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