Initial commit

This commit is contained in:
ladeng07
2022-04-12 14:29:48 +08:00
committed by ladeng07
parent febe17d539
commit b2c34886a4
5026 changed files with 806430 additions and 12 deletions
@@ -0,0 +1,8 @@
def is_iterable(x):
"An implementation independent way of checking for iterables"
try:
iter(x)
except TypeError:
return False
else:
return True