programming-examples/python/Math/Add, subtract, multiply and division of two complex numbers.py

4 lines
249 B
Python
Raw Normal View History

2019-11-15 12:59:38 +01:00
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))