micropython/tests/basics/builtin_locals.py

5 lines
54 B
Python

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