Gxlsystem TIY Editor
Gxlsystem 在线教程
改变方向
暗黑模式
python_ref_map_1.py:
def myfunc(a): return len(a) x = map(myfunc, ('apple', 'banana', 'cherry')) print(x) #convert the map into a list, for readability: print(list(x))