__author__ = "Ejie Emmanuel Ebuka"


arrayA = [1,2,3,4,5,6,7]
arrayB = [1,2,3,4,5,6,7]

# Addition
for a in arrayA:
    print(a)
for b in arrayB:
    print(b) # a and b take up to 3 seconds to compute

# Multiplication
for a in arrayA:
    for b in arrayB:
        print(a, b) # This takes up to 2 seconds to execute.