• boonhet@sopuli.xyz
    link
    fedilink
    arrow-up
    14
    ·
    2 days ago

    Well firstly it’s Python, secondly it’s not a command and thirdly it’s a joke - however, they have manually patched some outputs for sure. Probably by adding to the setup/initialization prompt

    • RidderSport@feddit.org
      link
      fedilink
      arrow-up
      2
      arrow-down
      1
      ·
      2 days ago

      Java is the only code I have any (tiny) knowledge of, which is why the line reminded me of that.

      • boonhet@sopuli.xyz
        link
        fedilink
        arrow-up
        3
        ·
        edit-2
        2 days ago

        Ah, but in Java, unless they’ve changed things lately, you have the curly brace syntax of most C-like languages

        if ("strawberry" in token_list) {
            return something;
        }
        

        Python is one of the very few languages where you use colons and whitespace to denote blocks of code