Calculator program in python