Dec-12-2019, 11:08 PM
def accCredDatabasesMethod(method): if method=="open": accUsernameDatabase=open("accUsernameDatabase.txt","w+") accPasswordDatabase=open("accPasswordDatabase.txt","w+") if accUsernameDatabase.read() not in userList: userList.append(accUsernameDatabase.read()) if '' in userList: userList.remove('') elif accPasswordDatabase.read() not in passList: passList.append(accPasswordDatabase.read() if '' in passList: passList.remove('')can you help me to understand and fix why there is an 'invalid syntax' error with the ':' in the second last line? (
if '' in passList: