Write a Python program to print out all possible pairs of two lists.
list1 = [1, 2, 3]
list2 = ['a', 'b', 'c']
for i in list1:
    for j in list2:
        print(i,j)

# Output:
# (1, 'a')
# (1, 'b')
# (1, 'c')
# (2, 'a')
# (2, 'b')
# (2, 'c')
# (3, 'a')
# (3, 'b')
# (3, 'c')