def getComplexDefaultByDictionaryKeys(defaultComplex, dictionary, keyX, keyY):
 x = getFloatDefaultByDictionary(defaultComplex.real, dictionary, keyX)
 y = getFloatDefaultByDictionary(defaultComplex.real, dictionary, keyY)
 return complex(x, y)

def getComplexDefaultByDictionaryKeys ( defaultComplex , dictionary , keyX , keyY ) : x = getFloatDefaultByDictionary ( defaultComplex . real , dictionary , keyX ) y = getFloatDefaultByDictionary ( defaultComplex . real , dictionary , keyY ) return complex ( x , y )
get the value as a complex .