You are viewing a single comment's thread. Return to all comments →
My version without list():
from itertools import product a = map(int, input().split()) b = map(int, input().split()) print(*product(a, b))
Seems like cookies are disabled on this browser, please enable them to open this website
itertools.product()
You are viewing a single comment's thread. Return to all comments →
My version without list():