Task: Print All Variables Without Specifying Each One in Python
Task: Print All Variables Without Specifying Each One in Python: a task in Terminal-Lego-15k (Harbor dataset). Write a Python script that demonstrates how to print all user-defined variables and their values at a specific point in program execution, without manually specifying each variable name …
The task
Write a Python script that demonstrates how to print all user-defined variables and their values at a specific point in program execution, **without manually specifying each variable name**. This simulates the common debugging need of inspecting all variables at once (as one would want to do in `pdb`).
Part of PrimeIntellect/Terminal-Lego-15k.