-
-
Save hay-kathode/026d99f5e21dbb68d3d0448ec8dbc91a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from itertools import product | |
x = [1, 2, 3] | |
y = [4, 5] | |
xy = product(x, y) | |
print(list(xy)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment