this post was submitted on 15 Dec 2024
113 points (99.1% liked)

Wikipedia

1668 readers
404 users here now

A place to share interesting articles from Wikipedia.

Rules:

Recommended:

founded 2 years ago
MODERATORS
 

For all your list needs.

top 9 comments
sorted by: hot top controversial new old
[–] [email protected] 26 points 1 week ago

List of lists of lists: This article itself is a list of lists, so it contains itself (see recursion)

[–] [email protected] 18 points 1 week ago

"LoLoL" redirects here.

[–] [email protected] 17 points 1 week ago (1 children)

[[[[]], [[]]], [[[]], [[]]]]

[–] [email protected] 4 points 1 week ago
Python 3.12.7 (main, Oct  1 2024, 00:00:00) [GCC 14.2.1 20240912 (Red Hat 14.2.1-3)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> l = []
>>> l[:] = [l] * 10
>>> l
[[...], [...], [...], [...], [...], [...], [...], [...], [...], [...]]
[–] [email protected] 11 points 1 week ago (1 children)
[–] [email protected] 7 points 1 week ago

I got my hopes up; it isn't as exciting once I continued exploring all of them.

[–] [email protected] 9 points 1 week ago

Well, this is going to take weeks to unpack.

[–] [email protected] 8 points 1 week ago

We must go deeper

[–] [email protected] 7 points 1 week ago