What are Operators in Python | Yuno Learning

Опубликовано: 07 Апрель 2026
на канале: Yuno Learning
0

Python Operators
Operators are used to perform operations on variables and values.
These are standard symbols used for the purpose of logical and arithmetic operations.

In the example below, we use the + operator to add together two values:

Example:1
print(10 + 5)

Example-2:
a = 5
b = 4
ans = a + b
print(ans)

Here in the example-2, we have used 4 operators, i.e. 3 times assignment operator and once '+' addition arithmetic operator.