Re:Pattern matching accepted for Python
by eljost on Tuesday February 09, 2021 @04:53PM
(#26082851)
You can use variables in the formats.
[ Parent
| on HN ]
Re:Pattern matching accepted for Python
by thaumasiotes on Tuesday February 09, 2021 @04:58PM
(#26082909)
That is the opposite of the problem being posed. The question is how you define `greet` using f-strings.