if(choice1 == "/login"):
uname = input("Username: ")
pword = input("Password: ")
account = str(uname) + str(pword)
with open("accounts.txt") as acc: #CHECKS IF ACCOUNT IS IN DIRECTORY
info = acc.readlines()
for line in info:
if(account in line):
print("Logged in")
loggedin = True
break
有什么方法可以让我"if(account in line):"说出来"if(account is exactly the same as in any of the lines here):"吗?