1hobbies = ["basketball", "football", "swimming"]
2print("My hobbies are:") # My hobbies are:
3print(", ".join(hobbies)) # basketball, football, swimming
1>>> my_string = 'A,B,C,D,E'
2>>> my_list = my_string.split(",")
3>>> print my_list
4['A', 'B', 'C', 'D', 'E']
5