To be fair this was quite wtf-free. Mostly just unimportant formatting subtleties and stuff you’d never write.
Python definitely has bigger WTFs, like bool being an int, implicit bool conversion, implicit iteration of strings, etc.
Bool being an int was part of this.
Sure but that’s orthogonal to f-strings.
Your final score: 9/26
There were more nuances and surprised than anticipated. But it should be expected, because its on this website. :D But any language with duck typing and lot of magic and interpretation, and a long history of changes and additions, used in a huge variety of environments, is bound to be surprising. I am not surprised that JavaScript and Python are surprising.
What to know about f strings
!ris a thing!sis a thingThere is some syntax for formatting a float which will completely be forgotten that’ll have to be looked up.
There is nothing else worth knowing.
Now lets moan and complain about something actually important. Like repos with languishing PRs, like SQLModel.
Tap for spoilers
I was sure something was wrong with the first question, probably because of the linter in my editor.
TIL about the feature in #4, it’ll be handy in my day-to-day businesses.
I forgot about the escaping in #7.
#19: what?
From then on, it was all [uneducated] guesses.
12/26, need more practice.




