def getComplexByDictionaryListValue(value, valueComplex):
 if (value.__class__ == complex):
  return value
 if (value.__class__ == dict):
  return getComplexByDictionary(value, valueComplex)
 if (value.__class__ == list):
  return getComplexByFloatList(value, valueComplex)
 floatFromValue = euclidean.getFloatFromValue(value)
 if (floatFromValue == None):
  return valueComplex
 return complex(floatFromValue, floatFromValue)

def getComplexByDictionaryListValue ( value , valueComplex ) : if ( value . __class__ == complex ) : return value if ( value . __class__ == dict ) : return getComplexByDictionary ( value , valueComplex ) if ( value . __class__ == list ) : return getComplexByFloatList ( value , valueComplex ) floatFromValue = euclidean . getFloatFromValue ( value ) if ( floatFromValue == None ) : return valueComplex return complex ( floatFromValue , floatFromValue )
get complex by dictionary .