Order the answer to: Your program will be written in Python 3. The only in-built module methods and attributes you…

AllEscort