/**
 * This function takes in the real part and imaginary part of a complex number
 * and returns the complex number in Python representation.
 *
 * Example:
 * representComplexNum(3, 4) -> (3+4j)
 * representComplexNum(0, -2) -> (-2j)
 * representComplexNum(5, 0) -> 5
 *
 * @param realPart A float or integer representing the real part of the complex number.
 * @param imaginaryPart A float or integer representing the imaginary part of the complex number.
 * @return The complex number in Python representation.
 */
fun representComplexNum(realPart: Int, imaginaryPart: Int): String {

    return when {
        realPart == 0 && imaginaryPart == 0 -> "0"
        realPart == 0 -> "${imaginaryPart}j"
        imaginaryPart == 0 -> realPart.toString()
        else -> "(${realPart}+${imaginaryPart}j)"
    }
}
/**
 * This function takes in the real part and imaginary part of a complex number
 * and returns the complex number in Python representation.
 *
 * Example:
 * representComplexNum(3, 4) -> (3+4j)
 * representComplexNum(0, -2) -> (-2j)
 * representComplexNum(5, 0) -> 5
 *
 * @param realPart A float or integer representing the real part of the complex number.
 * @param imaginaryPart A float or integer representing the imaginary part of the complex number.
 * @return The complex number in Python representation.
 */
fun representComplexNum(realPart: Int, imaginaryPart: Int): String {
/**
 * This function takes in the real part and imaginary part of a complex number
 * and returns the complex number in Python representation.
 *
 * Example:
 * representComplexNum(3, 4) -> (3+4j)
 * representComplexNum(0, -2) -> (-2j)
 * representComplexNum(5, 0) -> 5
 *
 * @param realPart A float or integer representing the real part of the complex number.
 * @param imaginaryPart A float or integer representing the imaginary part of the complex number.
 * @return The complex number in Python representation.
 */
fun representComplexNum(realPart: Int, imaginaryPart: Int): String {

    return when {
        realPart == 0 && imaginaryPart == 0 -> "0"
        realPart == 0 -> "${imaginaryPart}j"
        imaginaryPart == 0 -> realPart.toString()
        else -> "(${realPart}+${imaginaryPart}j)"
    }
}