Itertools without repetition but with multiple combinations
Itertools without repetition but with multiple combinations Question: i can’t seem to find a way to use itertools without repetitions while keeping multiple combinations. What I want : > my_list = [‘a’, ‘b’, ‘c’] > the_result_i_want = [‘ab’, ‘ac’, ‘ba’, ‘bc’, ‘ca’, ‘cb’] What I manage to do so far : for i in range …