1
0
forked from tdwojak/Python2017
Python2017/labs03/task01.py
2017-12-02 15:48:24 +01:00

3 lines
198 B
Python

#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]