You can download this code by clicking the button below.
This code is now available for download.
Define a function that appends a given element to a list.
Technology Stack : List
Code Type : Function
Code Difficulty :
def append_element_to_list(element, my_list):
my_list.append(element)