how to convert a sentence into a list of words code example
Example: Python | Spilt a sentence into list of words
# Python3 program to Convert single
# indexed list into multiple indexed list
def convert(lst):
return (lst[0].split())
# Driver code
lst = ["Geeks For geeks"]
print( convert(lst))