Add this sentence at the end of the program
from IPython import embed; embed()
In this way, you can enter the variable name in the run window to view the variable
Add this sentence at the end of the program
from IPython import embed; embed()
In this way, you can enter the variable name in the run window to view the variable