Untitled

 avatar
unknown
plain_text
a year ago
490 B
3
Indexable
import itertools

# Define the ranges for each category
range1 = list(range(30, 41))
range2 = list(range(40, 51))
range3 = list(range(60, 70))

# Generate all combinations
combinations = list(itertools.product(range1, range1, range1, range2, range3))

# Print the total number of combinations
print("Total number of combinations:", len(combinations))

# Print the first few combinations
print("First few combinations:")
for i in range(min(len(combinations), 5)):
    print(combinations[i])
Editor is loading...
Leave a Comment