Basic Operators
What is an operator?
Operators in Python
Speaking about operators in Python, mostly, we can divide them into next groups:
-
Arithmetic operators, which are used for mathematical computations;
-
Assignment operators, which are used for assigning values to variables;
-
Comparison operators, which are used to compare two values/variables and return a boolean value
True
orFalse
; -
Logical operators, which are used to check whether an expression is
True
orFalse
.
In the following video, we are going to discuss into more detailed way specific operators of corresponding kinds, as well as respective code:
Kiitos palautteestasi!
Kysy tekoälyä
Kysy tekoälyä
Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme
Kysy minulta kysymyksiä tästä aiheesta
Tiivistä tämä luku
Näytä käytännön esimerkkejä
Awesome!
Completion rate improved to 7.14
Basic Operators
Pyyhkäise näyttääksesi valikon
What is an operator?
Operators in Python
Speaking about operators in Python, mostly, we can divide them into next groups:
-
Arithmetic operators, which are used for mathematical computations;
-
Assignment operators, which are used for assigning values to variables;
-
Comparison operators, which are used to compare two values/variables and return a boolean value
True
orFalse
; -
Logical operators, which are used to check whether an expression is
True
orFalse
.
In the following video, we are going to discuss into more detailed way specific operators of corresponding kinds, as well as respective code:
Kiitos palautteestasi!