• m_‮f@discuss.onlineOP
    link
    fedilink
    arrow-up
    2
    ·
    20 days ago

    Apart from the indentation issue (and semantics identified in sibling comment), the joke works in python:

    >>> for i in range(3):
    ...     print(i, end=' '); print(i**2, end=' '); print(i**3)
    ...
    0 0 0
    1 1 1
    2 4 8