Skip to content Skip to sidebar Skip to footer
Showing posts with the label Scoping

Python Scoping In Dict Comprehension

>>> x = 'foo' >>> {0: locals().get('x')} {0: 'foo'} >&… Read more Python Scoping In Dict Comprehension