Write a python function to add user provided list and return the result


Topic: Write a python function to add user provided list and return the result

Solution

def addlist(list1,list2):
    result = list1+list2
    return result
answer = addlist(['cat','dog'],['samsung','oneplus'])



List all Python Programs