def getComplexByDictionary(dictionary, valueComplex):
 if ('x' in dictionary):
  valueComplex = complex(euclidean.getFloatFromValue(dictionary['x']), valueComplex.imag)
 if ('y' in dictionary):
  valueComplex = complex(valueComplex.real, euclidean.getFloatFromValue(dictionary['y']))
 return valueComplex

def getComplexByDictionary ( dictionary , valueComplex ) : if ( 'x' in dictionary ) : valueComplex = complex ( euclidean . getFloatFromValue ( dictionary [ 'x' ] ) , valueComplex . imag ) if ( 'y' in dictionary ) : valueComplex = complex ( valueComplex . real , euclidean . getFloatFromValue ( dictionary [ 'y' ] ) ) return valueComplex
get complex by dictionary .