1
0
forked from tdwojak/Python2017
Python2017/labs03/task01.py

3 lines
198 B
Python
Raw Normal View History

#lab03 task01
#Returns mutable type names
[t for t, oldid, newid in map( lambda (t, obj, objid): (t, id(obj*1), objid), map(lambda x : (type(x), x, id(x)), [[], '', 3.141592]) ) if oldid == newid]