Commit 3022e158 by BellCodeEditor

save project

parent 49880a50
Showing with 18 additions and 2 deletions
username = "张武子琛" username = "张武子琛"
userpassword = "18951641147" userpassword = "18951641147"
while True: while True:
name = input("输入用户名:") name = input("输入用户名:")
password = input("输入密码:") password = input("输入密码:")
if name == username and password == userpassword: if name == username and password == userpassword:
print("登录成功") print("登录成功")
break break
if name != username: if name != username:
print("用户名输入错误") print("用户名输入错误")
continue continue
if password == userpassword: if password == userpassword:
print("密码输入错误") print("密码输入错误")
print("微信已登录")
\ No newline at end of file print("微信已登录")
j = 5
i =7
print(j,"*",i,"=",j*i)
\ 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