(continued from previous pageprint(metalgold python debugger (pdbanother way to debug the code is to use the 'pdb'as shown belowherepython debugger module is imported at line nextpdb set_trace is used to set the starting location for the debuggingi the code will stop after reaching this point line here ring py import pdb python debugger import sys from math import pi if len(sys argv! display error message for missing arguments raise systemexit("usage ring py \"metal\radius" print arguments print("entered values"sys argv manual debugging starts from here pdb set_trace( sys argv[ is the file name metal "coppermetal sys argv[ radius input is read as string therefore it is converted into float radius float(sys argv[ ] perimeter *pi*radius area pi radius** print("metal ="metalprint("pi ="piprint("perimeter ="perimeterprint("area ="areanowrun the code as below press 'sand then enter to execute the next line python ring py "gold entered values['ring py''gold'' '/ring py( )(-metal sys argv[ (pdbs /ring py( )(-radius float(sys argv[ ] underscore operator (_the underscore operator stores the last value of the calculation and can be very useful while debugging the code in python shell underscore operator (