Help me in solving DSAAGP09 problem

My issue

help to find error in my code

My code

# First array
arr1 = [2, 4, 6]
size1 = 3

# Second array
arr2 = [8, 10, 12, 14]
size2 = 4

def merge_arrays(arr1, arr2):
    return arr1 + arr2
merged_array = merge_arrays(array1, array2)
print("Merged Array:", merged_array)











Learning course: BCS301: Data structures
Problem Link: https://www.codechef.com/learn/course/abesit-dsa/ABESITDS05/problems/DSAAGP09

# First array
arr1 = [2, 4, 6]
size1 = 3

# Second array
arr2 = [8, 10, 12, 14]
size2 = 4

def merge_arrays(arr1, arr2):
    return arr1 + arr2
merged_array = merge_arrays(arr1, arr2)
print("Merged Array:", merged_array)

your mistake was you pass wrong array name