View the variable value in pycharm, before it was
The first step Edit Configrations..
The second step "Show command line afterwards"
Changed to "run with Python console" in pycharm2020, check it,
After running, click the small glasses icon to view. The lower right corner is the variable value.