Python 支援複數的運算,只是在數學當中的複數,我們是用「i」來表示虛數 ... 例如: a = 1.5+0.5j print a.real print a.imag 複數也可以使用四則運算 ...
確定! 回上一頁