📜  Python| sympy.StrictLessThan() 方法

📅  最后修改于: 2022-05-13 01:54:56.800000             🧑  作者: Mango

Python| sympy.StrictLessThan() 方法

sympy.StrictLessThan()方法的帮助下,我们可以使用严格的小于运算符进行数学表达式。

示例 #1:
在这个例子中我们可以看到,通过使用sympy.StrictLessThan()方法,我们能够找到严格小于运算符的表达式。

# import sympy
from sympy import * x, y = symbols('x y')
   
# Using sympy.StrictLessThan() method
gfg = StrictLessThan(x, 35)
   
print(gfg)

输出 :

示例 #2:

# import sympy
from sympy import * x, y = symbols('x y')
   
# Using sympy.StrictLessThan() method
gfg = StrictLessThan(y, x)
   
print(gfg)

输出 :