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

Course Content

Introduction to Finance with Python

Introduction to Finance with Python

1. Python Basics
2. Options Trading
3. Time Series Forecasting

book
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 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:

What is the difference between `==`  and `is` operators?

What is the difference between == and is operators?

Select the correct answer

Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 1. Chapter 2
We're sorry to hear that something went wrong. What happened?
some-alt