Python important operators

Python has some original operators like // or ** that one has to know.

Some operators are fairly obvious like:

  • * to multiply
  • + and - for addition and substraction
  • / for division

but you can also use:

  • // for entire division or floor division
  • % for the rest of the entire division or modulo
  • ** as a power operator
Matthieu Liatard
Remember this!
Remember this
Play!
Take a quizz on this subject
Close

Hello :)
At Question-Player, we want to share more knowledge and help you never forget anything ever. And for free.

To show us your support, you can create an account:

Login / Create an account
Rate this article :
1
2
3
4
5

Up next

Related posts