Write a Python function to extend a list without append.


Topic: Write a Python function to extend a list without append.

Solution

def extend_list_without_append(list1, list2):
    return list1.extend(list2)



List all Python Programs