Write a functionCOTtupleRange(xstart,xend,xstep) that returns a tuple that has:
              - as index 0 item, the value of xstart
              - as index 1 item, the value xstart+xstep
              - as index 2 item, the value (xstart+xstep)+xstep,
              and so on as long as the value does equal or pass the value ofxend.
              However, the function should return an empty string if for positivexstep, xstart>xend or if for negative xstep, xstart < xend.Here are three examples:
- a = COTtupleRange(2, 3.51, 0.5) should produce
                a = (2, 2.5, 3., 3.5)
- a = COTtupleRange(2, 0.01, -0.5) should produce
                a = (2, 1.5, 1., 0.5)
- a = COTtupleRange(2, 1.51, 0.5) should produce
                a = ()  Â
              Your code should also have a function mainProg() for testing theCOTtupleRange(xstart,xend,xstep) function and the associated if__name__ == statement. Write the mainProg() code so that it doesthe three examples shown above.