Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Recursive solution in Clear category for Completely Empty by Nep
def completely_empty(val):
for one in val:
if not hasattr(one, '__iter__') or not one.__iter__ or not completely_empty(one):
return False
return True
May 20, 2018