You are viewing a single comment's thread. Return to all comments →
arr1=list(map(int,input().split())) arr2=list(map(int,input().split()))
for i in range(len(arr1)): for j in range(len(arr2)): print((arr1[i], arr2[j]), end=" ") // IT'S WORK
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 →
arr1=list(map(int,input().split())) arr2=list(map(int,input().split()))
for i in range(len(arr1)): for j in range(len(arr2)): print((arr1[i], arr2[j]), end=" ") // IT'S WORK