def getComplexIfNone(valueComplex):
 if (valueComplex == None):
  return complex()
 return valueComplex

def getComplexIfNone ( valueComplex ) : if ( valueComplex == None ) : return complex ( ) return valueComplex
get new complex if the original complex is none .