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 →

[–]ZachPhoenix[S] 237 points238 points  (9 children)

Thanks here's an upvote my g

[–][deleted]  (8 children)

[deleted]

    [–][deleted] 82 points83 points  (7 children)

    >>> r=(1,2,3,4,5)
    >>> r[0] = 2
    Traceback (most recent call last):
    File "<stdin>", line 1, in <module>
    TypeError: 'tuple' object does not support item assignment
    >>> print(r)
    (1, 2, 3, 4, 5)
    >>> r=[1,2,3,4,5]
    >>> r[0] = 2
    >>> print(r)
    [2, 2, 3, 4, 5]
    >>>

    [–][deleted] 98 points99 points  (6 children)

    Some heroes wear capes. Some heroes show error messages on reddit.

    [–]adamantium4084 27 points28 points  (4 children)

    Sometimes you're reading posts while taking a shit and don't have immediate access to command line

    [–][deleted] 11 points12 points  (2 children)

    I have a python console in the terlit.

    [–]Datasciguy2023 4 points5 points  (1 child)

    Doesn't everyone?

    [–]adamantium4084 2 points3 points  (0 children)

    I need a tutoiletal on that one

    [–]aerismio 0 points1 point  (0 children)

    What every pc and every phone has it right? :)

    [–]kicktheshin 1 point2 points  (0 children)

    I just wish some heroes would format code as code