Tech Mahindra Interview Question

Implement unit testing in python with a test case of your choice.