Oct-08-2018, 08:34 PM
Or you could do a list comprehension:
sw = [item for item in sw if item != 'bo']For large lists, that would probably be more efficient. Filter might be even more efficient.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures