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))

 

posted @ 2018-11-15 21:01  anobscureretreat  阅读(811)  评论(0编辑  收藏  举报