You are viewing a single comment's thread. Return to all comments →
a = input().split() b = input().split() int_a = [] int_b = [] for num in a: int_a.append(int(num)) for num in b: int_b.append(int(num)) for num_a in int_a: for num_b in int_b: print(f"({num_a}, {num_b})", end=" ")
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 →