首页 > 编程语言 > 详细

python 复数的数学四则运算

时间:2018-11-15 22:11:32      阅读:431      评论:0      收藏:0      [点我收藏+]

 

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

 

python 复数的数学四则运算

原文:https://www.cnblogs.com/sea-stream/p/9966046.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!