Hacker News new | ask | show | jobs
by pansa2 1945 days ago
> I don't know how I missed this

It wasn’t added until Python 3.8 (f-strings were new in 3.6).

1 comments

That makes sense. The big f-string tutorial people reference (and is the current top result on DuckDuckGo for "f-string") was written prior to 3.8.