Put the steps of working with the itertools.combinations() function in the correct order.
Itertools module
Order the steps
Report a typo
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):
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.