May-18-2017, 04:37 AM
It looks as if names is a list.
try print(names) to see.
if so, you can find the index of the one you want by using index
try print(names) to see.
if so, you can find the index of the one you want by using index
idx = nicknames.index('nick') del nicknames[idx]not tested, but should be OK