Order the steps

Report a typo

Put the steps of working with the itertools.combinations() function in the correct order.

Reorder lines using drag or arrows. Adjust indentation with left buttons
                import itertools
              
                print(next(my_iter))
              
                length = 3
              
                my_iter = itertools.combinations(range(1, 100), length)
              
                for i in range(20):
              
___

Create a free account to access the full topic