Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Convert a string into a list in python

def dpro(string):
    convertedlist = list(string.split(" "))
    return convertedlist
  
print(dpro("this will convert to List"))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Convert #string #list #python
ADD COMMENT
Topic
Name
8+6 =