circuitpython/tests/basics/builtin_locals.py

5 lines
54 B
Python
Raw Normal View History

# test builtin locals()
x = 123
print(locals()['x'])