Commit a46eba61 by BellCodeEditor

save project

parent df6dd5f2
Showing with 5 additions and 6 deletions
a="2468"
b="2468"
c=input("请输入账号")
d=input("请输入密码")
if c==a and d==b:
print("登陆成功")
with open(r'C:\Users\admin\Desktop\text.doc','r',encoding='utf-8') as a:
for data in a:
if '小黑子: 12本' in data:
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