# Split the string using the separator text= "Orange,Apple,Grapes,WaterMelon,Kiwi" print(text.split(','))