logoalt Hacker News

kstrauseryesterday at 10:29 PM1 replyview on HN

In Python, that less hazardous string concatenation operator is an f-string.


Replies

layer8yesterday at 10:55 PM

I’m assuming you can only use it with string literals, hence it is less universally useful.

show 1 reply