This commit is contained in:
Marege 2026-10-01 14:35:07 +02:00
parent 3e05a116f2
commit f995f86404
2 changed files with 10 additions and 0 deletions

0
Readme Normal file
View File

10
u3/skatule.py Normal file
View File

@ -0,0 +1,10 @@
def flatten(iterable):
if(iterable ==[] or iterable is None):
return []
r = []
for i in iterable:
if(type(i) is list):
r.extend(flatten(i))
else:
r.append(i)
return r