def getMaximum(firstComplex, secondComplex):
 return complex(max(firstComplex.real, secondComplex.real), max(firstComplex.imag, secondComplex.imag))

def getMaximum ( firstComplex , secondComplex ) : return complex ( max ( firstComplex . real , secondComplex . real ) , max ( firstComplex . imag , secondComplex . imag ) )
get a complex with each component the maximum of the respective components of a pair of complexes .