1list_of_num = [1, 2, 3, 4, 5]
2# Covert list of integers to a string
3full_str = ' '.join([str(elem) for elem in list_of_num])
4print(full_str)
1List = ["ITEM1", "ITEM2", "ITEM3"]
2string_version = "".join(List)
3
4print(string_version)
5
1int_lst = [1, 2, 3, 4, 5]
2full_str = '\n'.join([str(elem) for elem in list_of_num])
3print(full_str)