def listToString(my_list):  
    """
    A function to convert a list to a string
    """
    # initialize an empty string 
    str1 = ""  
    
    # traverse in the string   
    for element in my_list:  
        str1 += element  
    
    # return string   
    return str1