idiombench / Python /train /3.14 /fstring /legacy_06.py
SwashBuckler001's picture
IdiomBench (part 8)
8d3bfa6 verified
Raw History Blame Contribute Delete
105 Bytes
def outer(x):
def inner():
return 'x={x}'.format_map(locals())
return inner
outer(42)()