Revert "py: Changes in variable.py to perform operations on complex numbers."

This reverts commit d921be2ec1acf7c3a0098683ea6b3042833b1a1d.