I got 21/26 on @mitsuhiko's fstrings.wtf quiz.

I spent a lot of time creating a cheat sheet and article on f-strings, so I was kicking myself after a few of them that I should have known. There were definitely a couple surprise Python features for me though!

fstrings.wtf

#Python

Follow

@treyhunner @mitsuhiko I got 25/26. The only one that threw me was one that throws a `ValueError` and I thought it would throw `SyntaxError` if it were an error so I just guessed as to what it could mean.

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.