When debugging, the ____ command in Pdb is used to print the value of an expression.

  • inspect
  • p
  • print
  • view
In the Python Debugger (pdb), you can use the p or print command to display the value of an expression. This is helpful for inspecting variables and understanding program state during debugging.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *