Ошибка функции Python map() <объект карты по адресу 0x056D44F0> [дубликат]Python

Программы на Python
Anonymous
Ошибка функции Python map() <объект карты по адресу 0x056D44F0> [дубликат]

Сообщение Anonymous »


What are the numbers "0x056D44F0" depicting for is it a memory location or a error plz tell?

The code is:-

def myfunc(a): return len(a) x = map(myfunc, ('apple', 'banana', 'cherry')) print(x) Actually I was expecting the length of the list in x to be printed but instead of it I got something like this:- My question is what is this error indicating?


Источник: https://stackoverflow.com/questions/780 ... 0x056d44f0

Вернуться в «Python»