[ad_1]
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(" ")
[ad_2]
solved Convert list of characters into a list with strings [duplicate]
[ad_1]
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(" ")
[ad_2]
solved Convert list of characters into a list with strings [duplicate]