LoginSignup
0
0

More than 1 year has passed since last update.

演算子

Last updated at Posted at 2021-08-16

算術演算子

+ 加算
- 減算
※ 乗算
/ 除算
Mod 剰余
^ べき乗 

連結演算子

& 文字列を連結
+ 文字列を連結

代入演算子

= 右辺の値をを左辺の変数に代入

複合代入演算子

+= 右辺の値を左辺の変数に加算
-= 右辺の値を左辺の変数から減算
*= 右辺の値を左辺の変数に乗算
/= 右辺の値で左辺の変数を乗算

比較演算子

= 等しい
<> 等しくない
> より大きい
< より小さい
>= 以上
<= 以下
Like 文字列パターン比較

理論演算子

Not 論理否定
And 論理積(両方とも条件に満たしていれば、True)
Or 論理和(どちらか一方、条件に満たしていれば、True)
0
0
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0