Skip to content

Instantly share code, notes, and snippets.

@brandsimon
Created August 5, 2019 17:51
Show Gist options
  • Save brandsimon/e303830d5895a2234b90c184826597ff to your computer and use it in GitHub Desktop.
Save brandsimon/e303830d5895a2234b90c184826597ff to your computer and use it in GitHub Desktop.
def print_suite(suite):
if hasattr(suite, '__iter__'):
for x in suite:
print_suite(x)
else:
print(suite)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment