Division VS Floor Division in Python

preview_player
Показать описание
#short #python #tutorial
#jupyternotebook

Python Arithmetic Operators
Arithmetic operators are used to perform mathematical operations like addition, subtraction, multiplication, and division.

Division Operator: In Python, / is the division operator. It is used to find the quotient when the first operand is divided by the second.

Floor division: In Python, // is used to conduct the floor division. It is used to find the floor of the quotient when the first operand is divided by the second.

#operator #coding
Рекомендации по теме