-1

can you explain the floor division and modulo operator

3/25/2020 9:27:03 AM

Henry Punnoose

2 Answers

New Answer

+3

Floor division devides the numbers and discard the fractional part of the result. For example:- 5//2 = 2 Whereas modulo operator devides the number and returns remainder. For example:- 5%2 = 1

+2

Already answered use search bar https://www.sololearn.com/Discuss/2200400/?ref=app https://www.sololearn.com/Discuss/1950985/?ref=app https://www.sololearn.com/Discuss/1826329/?ref=app https://www.sololearn.com/Discuss/1788913/?ref=app