monica_b1998@lemmy.world to Python@programming.dev · 1 month agoPython String Formatting: f-strings vs .format() vs %slicker.meexternal-linkmessage-square14linkfedilinkarrow-up139arrow-down10
arrow-up139arrow-down1external-linkPython String Formatting: f-strings vs .format() vs %slicker.memonica_b1998@lemmy.world to Python@programming.dev · 1 month agomessage-square14linkfedilink
minus-squarecharokol@lemmy.worldlinkfedilinkEnglisharrow-up11·1 month agoDidn’t think I’d learn anything new in this article, but I never knew about f-string’s self-documenting expression syntax. I’ve been doing it myself like a chump!
minus-squaremonica_b1998@lemmy.worldOPlinkfedilinkarrow-up3·1 month agolol, don’t be too hard on yourself!
minus-squarecharokol@lemmy.worldlinkfedilinkEnglisharrow-up4·1 month agoI’m not! I’m excited to forget this exists the next time it would be convenient for me to remember it 😋
Didn’t think I’d learn anything new in this article, but I never knew about f-string’s self-documenting expression syntax. I’ve been doing it myself like a chump!
lol, don’t be too hard on yourself!
I’m not! I’m excited to forget this exists the next time it would be convenient for me to remember it 😋