here is main(program that illustrates the use of these functions/main *#include "example hint main(/test the gcd(function *printf("% \ "gcd( , ))printf("% \ "gcd( , ))/test the replace(function *char ["skipping along unaware of the unspeakable peril "int nrepnrep replace( ,','-')printf("% \ "nrep)printf("% \ ", )/test the distance(function *point }point }printf("% \ "distance(& ,& ))here is the output of the previous programa out skipping-along-unaware-of-the-unspeakable-peril an extension module prototype extension modules are built by writing separate source file that contains set of wrapper functions which provide the glue between the python interpreter and the underlying code here is an example of basic extension module called _example/pyexample *#include "python #include "example hstatic char py_gcd_doc["computes the gcd of two integers"static pyobject py_gcd(pyobject *selfpyobject *argsint , ,rif (!pyarg_parsetuple(args,"ii:gcd",& ,& )return nullr gcd( , )return py_buildvalue(" ", )static char py_replace_doc["replaces all characters in string"static pyobject lib fl ff