Advertisement
IvaSerge

Untitled

Feb 8th, 2018
328
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.21 KB | None | 0 0
  1. def ProcessList(_func, _list):
  2.     return map( lambda x: ProcessList(_func, x) if type(x)==list else _func(x), _list )
  3.    
  4. def Unwrap(item):
  5.     return UnwrapElement(item)
  6.    
  7. elemUnwraped = ProcessList(Unwrap, IN[0])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement