[Python-ideas] flatten multi-nested list/set/tuple and certain types.