List as a Parameter
def do_something(the_list): for element in the_list: print(element) do_something(['1','2','3']) alist = ['red','green','blue'] do_something(alist)
Run