Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Apprendre Basic Operators | Python Basics
Introduction to Finance with Python

bookBasic 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 or False;

  • Logical operators, which are used to check whether an expression is True or False.

In the following video, we are going to discuss into more detailed way specific operators of corresponding kinds, as well as respective code:

question mark

What is the difference between == and is operators?

Select the correct answer

Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 1. Chapitre 2

Demandez à l'IA

expand

Demandez à l'IA

ChatGPT

Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion

Suggested prompts:

Posez-moi des questions sur ce sujet

Résumer ce chapitre

Afficher des exemples du monde réel

Awesome!

Completion rate improved to 7.14

bookBasic Operators

Glissez pour afficher le menu

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 or False;

  • Logical operators, which are used to check whether an expression is True or False.

In the following video, we are going to discuss into more detailed way specific operators of corresponding kinds, as well as respective code:

question mark

What is the difference between == and is operators?

Select the correct answer

Tout était clair ?

Comment pouvons-nous l'améliorer ?

Merci pour vos commentaires !

Section 1. Chapitre 2
some-alt