Commit 28f5bea1 by BellCodeEditor

auto save

parent e1147471
Showing with 7 additions and 7 deletions
username = "python" # 保存在服务器数据库中的用户账号(正确的账号) price=[15,18,14,25]
userpassword = "123456" # 保存在服务器数据库中的用户密码(正确的密码) count=0
name=input('请输入用户名') def sum(mon)
password=input('请输入密码') for i in price:
if name ==username and password==userpassword: count=count+i
print('登录成功') print(count)
\ No newline at end of file \ 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