programming-examples/python/Math/Add, subtract, multiply and division of two complex numbers.py
2019-11-15 12:59:38 +01:00

4 lines
249 B
Python

print("Addition of two complex numbers : ",(4+3j)+(3-7j))
print("Subtraction of two complex numbers : ",(4+3j)-(3-7j))
print("Multiplication of two complex numbers : ",(4+3j)*(3-7j))
print("Division of two complex numbers : ",(4+3j)/(3-7j))