3

Trying below simple code with list.

a = []
a.append(a)
print(a)

Getting below output.

[[...]]

Why are the three dots inside?

halfer
  • 19,471
  • 17
  • 87
  • 173
sre
  • 249
  • 1
  • 10

0 Answers0