/**
 * Given a real part and an imaginary part, create a dictionary representing a complex number.
 *
 * @param realPart The real part of the complex number.
 * @param imaginaryPart The imaginary part of the complex number.
 * @return The complex number represented as a dictionary.
 *
 * Example:
 * createComplexDict(3.5, -2.7) -> mapOf("real" to 3.5, "imaginary" to -2.7)
 */
fun createComplexDict(realPart: Double, imaginaryPart: Double): Map<String, Double> {

    val complexDict = mapOf(
        "real" to realPart,
        "imaginary" to imaginaryPart
    )
    return complexDict
}
/**
 * Given a real part and an imaginary part, create a dictionary representing a complex number.
 *
 * @param realPart The real part of the complex number.
 * @param imaginaryPart The imaginary part of the complex number.
 * @return The complex number represented as a dictionary.
 *
 * Example:
 * createComplexDict(3.5, -2.7) -> mapOf("real" to 3.5, "imaginary" to -2.7)
 */
fun createComplexDict(realPart: Double, imaginaryPart: Double): Map<String, Double> {
/**
 * Given a real part and an imaginary part, create a dictionary representing a complex number.
 *
 * @param realPart The real part of the complex number.
 * @param imaginaryPart The imaginary part of the complex number.
 * @return The complex number represented as a dictionary.
 *
 * Example:
 * createComplexDict(3.5, -2.7) -> mapOf("real" to 3.5, "imaginary" to -2.7)
 */
fun createComplexDict(realPart: Double, imaginaryPart: Double): Map<String, Double> {

    val complexDict = mapOf(
        "real" to realPart,
        "imaginary" to imaginaryPart
    )
    return complexDict
}