Calculator application using python