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!

https://fstrings.wtf

#Python

fstrings.wtf - Python F-String Quiz

Test your knowledge of Python's f-string formatting with this interactive quiz. How well do you know Python's string formatting quirks?

fstrings.wtf
@treyhunner @mitsuhiko I’m impressed. My score was 18/26 πŸ€¦β€β™‚οΈ
@treyhunner @mitsuhiko 17 for me. A couple that I felt silly for missing but definitely learned a lot.
@treyhunner @mitsuhiko
Nice quiz! I got 15/26. About 1 correct answer for every year I’ve used #python.
@treyhunner @mitsuhiko I didn't know what ^ did. That was a surprise to me. The rest I blame on working in py2.7 way past EOL and only relatively recently learning f strings (I only scored 10...)
@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.
@treyhunner @mitsuhiko 21 for me as well, but I want to check the arithmetic on one of them at a Python prompt before deciding if I'm right or the quiz is (an initial check with a non-Python calculator disagreed with the quiz answer, but I want to double check before filing an issue)
@treyhunner @mitsuhiko Quiz was right, my brain apparently wasn't fully in Python parsing mode so it misinterpreted one of the arithmetic expressions.
@treyhunner @mitsuhiko way better than my 9 πŸ˜