Integer Methods
int.conjugate()
Return the conjugate of a real-valued int. Its numeric value is unchanged because there is no imaginary component. This method supports code that works uniformly with real and complex numbers. It does not negate the value or convert it to complex.
Formal Syntax & Structure
python syntaxpython
value.conjugate()Return Value
int
Numeric conjugate.
Working Example
Example Snippetpython
value = -7print(value.conjugate())print(type(value.conjugate()).__name__)