如何让Sympy以分数形式打印指数结果?

2024-03-29 11:32:16 发布

您现在位置:Python中文网/ 问答频道 /正文

此代码

x = symbols('x')
x**(1/2)

给予

enter image description here

如何进行sympy打印

enter image description here


Tags: 代码symbolssympy