Python print every unique combination of list items
What is the cleanest (most "pythonic") way of printing every unique combination of three items in the following list? strats = ["1","2","3","4"] The solution needs to avoid duplicates: 1 and 1 and 1 No (not unique) 1 and 1 and 2 No (not unique) 1 and 1 and 3 No (not unique) … 1 and… Read More Python print every unique combination of list items