• sugar_in_your_tea@sh.itjust.works
    link
    fedilink
    arrow-up
    13
    ·
    edit-2
    17 days ago

    Hmm: 17/26

    Failures were:

    • didn’t know about the = option, but once I saw it once, I guessed right a few times
    • never used ^ in Python, and didn’t make the connection to XOR (I figured I’d need the math library or something)
    • the r and a with =! (again, never used = option)
    • edge cases in walrus operator and other things unrelated to f-strings

    Most of those I missed (and many I got) I’d reject a PR over because it’s not obvious enough what’s going on. But I think given that, I did reasonably well.

    But I learned something. Thanks for the post!