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