Skip to content
Advertisement

Tag: ellipsis

What do ellipsis […] mean in a list?

I was playing around in python. I used the following code in IDLE: The output was: What is this […]? Interestingly I could now use this as a list of list of list up to infinity i.e. I could write the above as long as I wanted and it would still work. EDIT: How is it represented in memory? What’s

Advertisement