CodePudding
Home
front end
Back-end
Net
Software design
Enterprise
Blockchain
Mobile
Software engineering
database
OS
other
Home
>
other
> Why can't sympy reduction?
Why can't sympy reduction?
Time:09-22
The import sympy as sp
The from sympy import *
X=var (' x ', positive=True, real=True)
A='(x 2) * * * * (1/2)'
Print (simplify (powsimp (var (A))))
Print the result: (x 2) * * * * (1/2)
Why can't we simplify to x, please?
Page link:
https//www.codepudding.com/other/20662.html
Prev:
Novice, could you tell me how python call an external application and the external program execution
Next:
Help bosses: python is always an error when reading files UnicodeDecodeError: 'GBK' codec
Tags:
Scripting language (Perl/Python)
Related
Links:
CodePudding