def dpro(string): convertedlist = list(string.split(" ")) return convertedlist print(dpro("this will convert to List"))