<filename>Python/_06_Itertools/_01_itertools.product()/solution.py
from itertools import product

A = map(int, input().split())
B = map(int, input().split())

[print(i, end=' ') for i in product(A, B)]

<filename>Python/_06_Itertools/_01_itertools.product()/solution.py
from itertools import product

A = map(int, input().split())
B = map(int, input().split())

[print(i, end=' ') for i in product(A, B)]
