def dosomething(thelist):
    for element in thelist:
        print(element)
dosomething(['1', '2', '3'])
alist = ['red', 'green', 'blue']
dosomething(alist)
Declaring a python function with an array parameters and passing an array argument to the function call?