Python program for floor division of two numbers

preview_player
Показать описание
Floor division in Python. How to find floor division using floor division (//) operator in Python?
Floor division is also used to carry out Euclidean division, but unlike the modulo operator, floor division yields the quotient, not the remainder.

When we divide a number by another number – division operator (/) return quotient it may be an integer or float. But, when we need quotient without floating number – we can floor division (//) operator, it returns quotient (result) without floating points.

Arithmetic Operators
1.Addition
2.Subtraction
3.Multiplication
4.Divide
5.Modulus(Remainder)
6.Floor Division❤❤
7.Exponentiation(Power)

Link Given Below
––––––––––––––––––––––––––––––
––––––––––––––––––––––––––––––
Рекомендации по теме
Комментарии
Автор

You should have mentioned negatives too...most people think floor division is just chopping off decimals but it's actually the Greatest Integer Function

balwan
Автор

Construct a Python program that will accept two numbers and will compute
for the sum, difference, product, quotient, floor division, modulus operator and
exponentiation.

jongmiguel
Автор

Please give me an explanation that how to do floor division

aryarohanrachamalla