You are viewing a single comment's thread. Return to all comments →
x=[int(x) for x in input().split()] y=[int(x) for x in input().split()] print(*product(x,y))
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 →
x=[int(x) for x in input().split()] y=[int(x) for x in input().split()] print(*product(x,y))