3 ms·
I mean, if you're comfortable with `functools.partial`, lambdas are no great stretch: greet_fstring = partial(lambda _,s: f"hello {s}", greeting)
by nokko 6y ago
I mean, if you're comfortable with `functools.partial`, lambdas are no great stretch:
greet_fstring = partial(lambda _,s: f"hello {s}", greeting)