import os def set(o): return set(o) # =={o} def reverseObject(it): it.reverse() return it def sortObject(it): return sorted(it) def sorts(o): o.sort(reversed=True) return o def reverseList(o): if isinstance(o,list): return list(reversed(o)) elif isinstance(o,tuple): return tuple(reversed(o)) def reverseStr(str): return str[::-1] if str else ''.join(list(reversed(list(str))))