(continued from previous page action='store_const'const=suminbuilt method 'sumto add the values of list help='sum of integers args parser parse_args(save arguments in args if --sum is in command if args accumulatesum args accumulate(args integersprint("sum ="sum if '- or --productis in command if args multiply !noneif args multiply is not nonepass arg integers to arg multiplywhich calls function 'mulnumproduct args multiply(args integersprint("product "product ######execution ################### #######help ###########python argparse_ex py - (or python argparse_ex py --helpusageargparse_ex py [- [- [--sumintegers [integers first argparse code positional argumentsintegers read list of integer optional arguments- --help show this help message and exit - --product product of integers --sum sum of integers ###########results ########python argparse_ex py --sum sum python argparse_ex py - product python argparse_ex py --product product python argparse_ex py - --sum sum product python argparse_ex py - --sum sum product 'argparse