A
Armando Serrano Lombillo
Why does Python give an error when I try to do this:
File "<pyshell#40>", line 1, in <module>
len(object=[1,2])
TypeError: len() takes no keyword arguments
but not when I use a "normal" function:
return len(object)
Traceback (most recent call last):len(object=[1,2])
File "<pyshell#40>", line 1, in <module>
len(object=[1,2])
TypeError: len() takes no keyword arguments
but not when I use a "normal" function:
return len(object)
2my_len(object=[1,2])