77
Python f-string quiz (fstrings.wtf)
you are viewing a single comment's thread
view the rest of the comments
[-] FizzyOrange@programming.dev 29 points 1 month ago

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.

[-] Tja@programming.dev 7 points 1 month ago

Bool being an int was part of this.

[-] FizzyOrange@programming.dev 6 points 1 month ago

Sure but that's orthogonal to f-strings.

this post was submitted on 26 Jul 2025
77 points (97.5% liked)

Python

7406 readers
1 users here now

Welcome to the Python community on the programming.dev Lemmy instance!

📅 Events

PastNovember 2023

October 2023

July 2023

August 2023

September 2023

🐍 Python project:
💓 Python Community:
✨ Python Ecosystem:
🌌 Fediverse
Communities
Projects
Feeds

founded 2 years ago
MODERATORS