what am I missing (syntax error)

James Thiele jamesthiele.usenet at gmail.com
Sun Mar 5 14:06:01 EST 2006


Try:
for x in occupants:
                        if x not in uniqueUsers and x not in staff:
uniqueUsers.append(x)
                        elif x in staff and x not in uniqueStaff:
uniqueStaff.append(x)




More information about the Python-list mailing list