Python Create Static Variable In Function On Calculator