Comment

Comment by vosper

Maybe this should be obvious, but I don't have a computer to hand to try and figure it out: In the example for f-string interpolation, why does value have to be declared like this:

  value = decimal.Decimal("12.34567")
Why wouldn't this work?

  value = 12.34567
parent vosper 10 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton