This is the improved form of calculator previously made by me. In this instead of using conditional statements in python I used user defined function which helps in the calculation.