David HaAug 25, 2019This function will use the specified string to join a list into one string. For example the following:my_list = ["1", "2", "3"]output1 = " ".join(my_list)output2 = ",".join(my_list)The value of output1 is "1 2 3" as a string and value of output2 is "1,2,3".
This function will use the specified string to join a list into one string. For example the following:
my_list = ["1", "2", "3"]
output1 = " ".join(my_list)
output2 = ",".join(my_list)
The value of output1 is "1 2 3" as a string and value of output2 is "1,2,3".