A very simple calculator on compiler can be created using control statements but to create a little bit attractive one we use GUI and python Tkinter library is very famous creating a simple GUI application so using a functional programming and Tkinter library we can design a very good looking and working calculator.