📜  python conjugate - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:39.857000             🧑  作者: Mango

代码示例1
from fractions import Fraction

num1 = Fraction(2, 7)
num2 = Fraction(3, 8)
print(num1 * num2)

z = 1 + 1j
print(z+2)
print(z.conjugate())