create a list in python from a string code example
Example: python convert string to list
fruit = 'apple oranges banans'
newlist = fruit.split()
print(newlist)
fruit = 'apple oranges banans'
newlist = fruit.split()
print(newlist)