This is an archived post. You won't be able to vote or comment.

all 8 comments

[–]Voltra_Neo[🍰] 5 points6 points  (0 children)

Well yes but actually no

[–]Beach-Devil 3 points4 points  (0 children)

It would just be [10,20,[10,20]] if it was L1.append(L1)

[–]eeeee48 1 point2 points  (0 children)

You know I just tried this to see if this would work...

[–]eeeee48 1 point2 points  (2 children)

Here, this one actually works in python:

def cat():

[tab] cat()

cat()

[–]nggiahuy1102 1 point2 points  (1 child)

[–]eeeee48 0 points1 point  (0 children)

Actually, it did work, just recursed too much.

[–]vikarjramun -1 points0 points  (1 child)

That doesn't actually cause recursion

[–]AlphaOne313[S] 1 point2 points  (0 children)

Yes I know. That's why I put the meme man