3

Trying below simple code with list.

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

Getting below output.

[[...]]

Why are the three dots inside?

halfer
  • 19,824
  • 17
  • 99
  • 186
sre
  • 249
  • 1
  • 12

0 Answers0