Write a program to split strings using split function.


Topic: Write a program to split strings using split function.

Solution

string = "India is my country."
string_list = string.split(' ')
print(string_list)



List all Python Programs