Commit d6b6966a by BellCodeEditor

save project

parent 81f92dcb
Showing with 13 additions and 0 deletions
with open(r'C:\Users\广场五号\Desktop\sales_list.txt','r',encoding='utf-8') as file:
a = file.readlines()
for i in a:
data=i.split()
print(i)
\ No newline at end of file
username = 'python'
userpassword = '123456'
name = input("请输入用户名")
password = input("请输入密码")
if name == username and password == userpassword:
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