Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要在 python 代码中编写这个表达式 (x-3)(x+4) ,并且似乎无法正确。此代码需要编写为单个表达式,而不是在行中给出。
很少有编程语言允许在隐含乘法运算符时省略它。
(x - 3) * (x + 4)
如果我还记得如何简化
pow(x,2) + x - 12