Understanding Arithmetic Operators in Python || Lesson 13 || Python For Beginners ||

Published: 11 June 2026
on channel: Wisdomers - Placements & Programming
No
0

in this lesson we understand arithmetic operators in python

0:00 intro
0:12 what is meant by operator
0:44 arithmetic operators
0:55 demonstration on execution
2:06 example
2:10 floor division explanation
3:06 modulus operator
3:36 exponential operator

Welcome, Wisdomers. In this video, we will discuss Arithmetic operators. Before we move on to arithmetic operators, we must first understand exactly what is meant by an 'operator.' By the end, we will gain clarity on what a binary operator is. Stay focused as we move steadily into the depths of programming.


In programming, an operator is a symbol that tells the computer to perform a specific task, whether it’s a math calculation, a logical comparison, etc. Put simply, we use operators to carry out operations. In today’s class, we are focusing solely on arithmetic operators, with other categories to follow in our future lessons. Take a look at the arithmetic operators available to us.


Take a look at the demonstration for deeper understanding. Consider the line of code: z equals x plus y. Here, plus is an arithmetic operator; it will do the addition operation. When x plus y is executed, see what happens. The values of x and y are sent to the processor from memory, and addition is done in the processor. The result is currently in the processor. Now, the second part: z equals. Here, equals is the assignment operator, which means the result should be assigned to variable z. Meaning, the result in the processor should be stored in the memory allotted for variable z.


Similarly, the minus symbol is used for the subtraction operation. And the star symbol is used for the multiplication operation. And the slash symbol is used for the division operation. Take a look at the code and guess the output.


Now, let’s examine the floor division operator, represented by the double forward slash symbol.
Floor division calculates the division of two numbers and rounds the result down to the nearest whole integer. To understand this, let’s look at an example: 8 floor division 3.
A standard division of 8 by 3 yields approximately 2.66. Because floor division always rounds down to the nearest lower integer, resulting in an output of 2.
Now, consider a negative example: -8 floor division 3. The precise division value is -2.66. the nearest smaller integer is -3. Consequently, the output for this operation is -3.


Our next operator is the modulus operator, denoted by the percent symbol. The modulus operator performs a division between two numbers and returns the remainder as its output.
For example, consider the expression: 5 modulo 2. When 5 is divided by 2, the divisor goes in twice, leaving a remainder of 1. Therefore, the result of 5 modulus 2 is 1.
Finally, we have the exponentiation operator, represented by a double asterisk. This operator is used to raise a base number to the power of an exponent. For instance, 5 raised to the power of 2 results in 25.


In programming, operators are classified based on the number of operands they require. A binary operator is one that performs an operation on exactly two values. For instance, in the expression z equals x plus y, the addition sign is a binary operator because it acts upon two distinct variables, x and y.
In contrast, a unary operator is applied to only a single value. We will explore specific examples and use cases for unary operators in our upcoming lessons.

visit our learning app at www.wisdomers.in for quizzes and projects


On this page of the site you can watch the video online Understanding Arithmetic Operators in Python || Lesson 13 || Python For Beginners || with a duration of hours minute second in good quality, which was uploaded by the user Wisdomers - Placements & Programming 11 June 2026, share the link with friends and acquaintances, this video has already been watched No times on youtube and it was liked by 0 viewers. Enjoy your viewing!