Y
Hacker News
new
|
ask
|
show
|
jobs
by
actinium226
437 days ago
I tend to agree. I think it's easy enough to use a lambda in this case
>>> template = lambda name: f'Hello {name}' >>> template('Bob')