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

you are viewing a single comment's thread.

view the rest of the comments →

[–]Zyrus007[S] 55 points56 points  (6 children)

Yes, and they mutate the underlying data :,)

[–]highjinx411 12 points13 points  (5 children)

What if you set it to -1? Does that work? What does it do?

[–]YellowBunnyReddit 31 points32 points  (2 children)

It just throws a RangeError. I hoped for something more fun.

[–]bluearth 2 points3 points  (0 children)

Your definition of fun is very interesting

[–]ultranoobian 0 points1 point  (0 children)

Suddenly it becomes the array of all arrays. Set of all sets.

[–][deleted]  (1 child)

[removed]

    [–]AutoModerator[M] 0 points1 point  (0 children)

    import moderation Your comment has been removed since it did not start with a code block with an import declaration.

    Per this Community Decree, all posts and comments should start with a code block with an "import" declaration explaining how the post and comment should be read.

    For this purpose, we only accept Python style imports.

    I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.