forked from tdwojak/Python2017
f1ed9dbaad
# Conflicts: # labs02/test_task.py
3 lines
198 B
Python
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] |