write the code in a single file within the existing code. Please make sure the pi value doesn’t change and the other existing functionalities doesn’t change.
Modify the module you wrote for Homework Assignment 5 which contains the class so that it imports unittest and then uses it to verify…