Commit 08cd022a by BellCodeEditor

save project

parent 45f6e7b4
Showing with 4 additions and 14 deletions
username = "python" i=1
userpassword = "123456" for g in range(1,10,1):
while True: print(g,'*',i,'=',(g*i),end=" ")
name = input("请输入用户名:") \ No newline at end of file
password = input("请输入密码:")
if name == username and password == userpassword:
print("请重新输入")
break
if name!=username:
print("用户名错误!")
if password != userpassword:
pint("账号错误!")
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