New to python... I am trying to write a function merge() to take two lists and combine them, and then I would like to expand that to an n number of lists.
The output I get from this code is only the grapes list and not concatenated with the apples list.
Failed Attempt with my fuction:
grapes = ['purple', 'red']
apples = ['green', 'yellow', 'orange']
def merge():
    ''' merge the lists '''
    for i in apples:
        grapes.append(i)
print("Concatenated list: " + str(grapes))
merge()
Output :
Concatenated list: ['purple', 'red']
Thank you for the read...
 
     
    