Appending Element to List

  • Share this:

Code introduction


Appending an element to a list and returning the updated list.


Technology Stack : List (list)

Code Type : Function

Code Difficulty :


                
                    
def append_element_to_list(element, list):
    list.append(element)
    return list                
              
Tags: