Crypt Arithmetic Program In Python