Mathematics with Python and Ruby/Complex numbers in Python

A Complex number is denoted by letter Z. Let a complex number be Z = a + ib where a is real number and b is imiganiry number.