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