How can I match two lists of letters without considering the order of letters appearance in that lists in Python
Eg: Think my first list is [\'a\',\'b\',\'c\',
[\'a\',\'b\',\'c\',
How about:
# if you don't want to consider duplicates either output = set(your_first_list) == set(your_second_list) # if duplicates matter output = sorted(your_first_list) == sorted(your_second_list)