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):"
?