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