How do I receive an array (like numpy ones) into a function? Let's say the array a = [[2],[3]]
and the function f
. Tuples works like this:
def f((a ,b)):
print a * b
f((2,3))
But how is it with arrays?
def f(#here):
print a*b
f([[2],[3]])