monica_b1998@lemmy.world to Python@programming.dev · 17 days agoPython String Formatting: f-strings vs .format() vs %slicker.meexternal-linkmessage-square15linkfedilinkarrow-up142arrow-down10
arrow-up142arrow-down1external-linkPython String Formatting: f-strings vs .format() vs %slicker.memonica_b1998@lemmy.world to Python@programming.dev · 17 days agomessage-square15linkfedilink
minus-squarecharokol@lemmy.worldlinkfedilinkEnglisharrow-up14·17 days 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-up4·17 days agolol, don’t be too hard on yourself!
minus-squarecharokol@lemmy.worldlinkfedilinkEnglisharrow-up7·17 days 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 😋