You can download this code by clicking the button below.
This code is now available for download.
Appending an element to a list and returning the modified list.
Technology Stack : List (list)
Code Type : List operation
Code Difficulty :
def append_to_list(input_list, element):
input_list.append(element)
return input_list