Performing Arithmetic Operations

Arithmetic operators play a major role in programming, and it is essential to understand the use of different operators for efficient programming. Python provides several arithmetic operators for performing different operations on numerical data. The list of arithmetic operators used in Python is shown in Table 2.1.

Table 2.1. Arithmetic Operators

Operation

Description ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training,
learning paths, books, interactive tutorials, and more.