Python Floor Division Operator
In Python, Arithmetic Floor Division Operator takes two operands and returns the quotient of the integer division of first operand by the second operand.
The syntax to find the quotient in the integer division of two numbers:
b using Floor Division Operator is
a // b
The above expression returns a number.
In the following program, we take two numbers: a, b; and find the quotient of their integer division
a / b.
a = 6 b = 4 result = a // b print(result)Try Online
In this Python Tutorial, we learned about Arithmetic Floor Division Operator, its syntax, and usage, with examples.