Append NAME
#1
i have this in my code but i want it to be non case sensitive how do i go about that ??

Code:
uniques= []
                        if name not in uniques:
                            uniques.append(name)
Reply
#2
Use names.lower() to always add lowercase entries to uniques:

Code:
uniques= []

if name.lower() not in uniques:
    uniques.append(name.lower())
Reply

Logout Mark Read Team Forum Stats Members Help
Append NAME0