python convert string to list of lines code example
Example: convert string to list python
word = "Hey Hello world"
print(list(word))
# output
# ["Hey", "Hello", "world"]
word = "Hey Hello world"
print(list(word))
# output
# ["Hey", "Hello", "world"]