# This program asks a user to input a list of strings, # using commas for separation of strings. # Initially the input is stored as one string # The program converts it to a list. def main(): string=raw_input("Hello! \n Please enter a list of strings, separated by commas:") print string, type(string) l = string.split(',') # splitting the string into the list of strings, # using ',' as a separation place print l, type(l) main()