Commit a2d6d775 by BellCodeEditor

auto save

parent faa2218a
Showing with 16 additions and 11 deletions
i=5
username = "python" # 保存在服务器数据库中的用户账号(正确的账号)
userpassword = "123456"
while True: # 保存在服务器数据库中的用户密码(正确的密码)
name=input("请输入用户名")
password=input("请输入密码")
if username==name and userpassword==password:
print("登录成功")
break
elif username != name:
print('您拨打的电话已关机')
else:
print('您拨的的用户正在通话中')
while True:
if a>0:
name=input("请输入用户名")
password=input("请输入密码")
a-=1
if username==name and userpassword==password:
print("登录成功")
break
elif username != name:
print('您拨打的电话已关机')
else:
print('您拨打的用户正在通话中')
else:
print('您的电话已欠费请您续交话费')
exit()
print('欢迎来到奥特曼的世界')
......
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