Write a function that splits the elements of string


Topic: Write a function that splits the elements of string

Solution

def split_elements(s:str, seperator)-> list:
    return s.split(seperator)



List all Python Programs