Use split()
.
Example.
x = "Hello world"
x.split( )
Please add any character you want to split at if you want to split on whitespace use like this
x.split(" ")
solved Convert list of characters into a list with strings [duplicate]
Use split()
.
Example.
x = "Hello world"
x.split( )
Please add any character you want to split at if you want to split on whitespace use like this
x.split(" ")
solved Convert list of characters into a list with strings [duplicate]