🔥Limited Offer: Get 50% OFFon AI & Full Stack Courses🔥
Back to Python Notes
Topic #26

Arithmetic Operators


Arithmetic Operators

Arithmetic operators are used with numeric values to perform common mathematical operations:

Operator Name Example Try it
+ Addition x + y
- Subtraction x - y
* Multiplication x * y
/ Division x / y
% Modulus x % y
** Exponentiation x ** y
// Floor division x // y

Examples

Here is an example using different arithmetic operators:

Example

x = 15
y = 4

print(x + y)
print(x - y)
print(x * y)
print(x / y)
print(x % y)
print(x ** y)
print(x // y)

Division in Python

Python has two division operators:

  • / - Division (returns a float)
  • // - Floor division (returns an integer)

Example

x = 12
y = 5

print(x / y)

Example

x = 12
y = 5

print(x // y)

Want to go beyond the notes?

Join CodingNow 2.0's Python course — live mentorship, real projects, and 100% placement support.

Enroll Now — Free Demo Available

Arithmetic Operators – FAQs

Quick answers about learning Arithmetic Operators in Python.

This free note from CodingNow 2.0 explains Arithmetic Operators in Python — concept, syntax and worked code examples you can copy, run and revise before interviews.
Yes. Every Python topic on CodingNow 2.0, including Arithmetic Operators, is 100% free with no signup required.
With focused practice, most students grasp Arithmetic Operators in 1–3 days from these notes; pairing it with CodingNow 2.0's mentor-led course takes you to job-ready depth faster.
Use the code examples in this note, then ask doubts for free on the CodingNow 2.0 Community (/community) — expert instructors answer within 24 hours.
WhatsApp
Call NowEnroll Now