Python Quotient & Remainder

Published: 01 July 2021
on channel: 2Source Fort
88
1

Quotient

Floor division is done using two forward slashes and is used to determine the quotient of a division (the quantity produced by the division of two numbers).
For example:print( 20 // 6 )
____________________________________________


Remainder

The modulo operator is carried out with a percent symbol (%) and is used to get the remainder of a division.

print(20 % 6)
print(1.25 % 0.5)


On this page of the site you can watch the video online Python Quotient & Remainder with a duration of hours minute second in good quality, which was uploaded by the user 2Source Fort 01 July 2021, share the link with friends and acquaintances, this video has already been watched 88 times on youtube and it was liked by 1 viewers. Enjoy your viewing!