# Print each value in a given array


# Option 1 - without function:
arr = [1, 2, 3, 4, 5, 6, 7]

for num in arr:
    print(num)



# Option 2 - with function:
def print_array(arr):
    for num in arr:
        print(num)


arr = [1, 2, 3, 4, 5, 6, 7]
print_array(arr)