Arithmetic Operators

 

Operator Description
+ addition
- subtraction
* multiplication
/ division
^ or ** exponentiation
x %% y modulus (x mod y) 5%%2 is 1
x %/% y integer division 5%/%2 is 2

Logical Operators

 

Operator Description
< less than
<= less than or equal to
> greater than
>= greater than or equal to
== exactly equal to
!= not equal to
!x Not x
x | y x OR y
x & y x AND y
isTRUE(x) test if X is TRUE

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-05
  • 2021-12-05
  • 2022-12-23
  • 2021-11-14
  • 2021-11-26
猜你喜欢
  • 2022-12-23
  • 2021-12-05
  • 2021-10-16
  • 2022-12-23
  • 2021-12-05
  • 2022-12-23
相关资源
相似解决方案