LoginSignup
1
0

More than 5 years have passed since last update.

Pythonの算術演算子 Aidemyで学んだことの備忘録

Posted at

前置き

現在、AidemyでPythonの学習をはじめたので備忘録として書いていく

算術演算子

足し算

x + y

引き算

x - y

掛け算

x * y

割り算

x / y

割り算の余り

x % y

べき乗

x ** y

#所感
PHPとは違い、 x ** yでべき乗を求められることに感動した

1
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
1
0