I am new to python programming language. I wrote a where I tried to pass a list of functions :
def function(f. *args)
for f in args
print f
I can not pass my list of function using this code It gives me error
File "main.py", line 1
def function(f. *args)
^
SyntaxError: invalid syntax
I also tried:
def function(*args)
for f in args
print f
But it gives error:
File "main.py", line 1
def function(*args)
^
SyntaxError: invalid syntax
How can I solve this and how can I pass a list of function?