+ 1
Why is my code not working?
https://code.sololearn.com/co3oWjJVL6LL/?ref=app https://code.sololearn.com/co3oWjJVL6LL/?ref=app
4 Answers
+ 2
Because new values ââare added to xot an infinite number of times
+ 2
Place break in else
+ 1
# This code is for displaying numbers.
listik = [[1, 2],3]
def pupsik(xot):
for i in xot:
if type(i) == list:
pupsik(i)
else:
print(i)
pupsik(listik)
0
What do you mean? Can you be a bit more specific?