0
Who can best explain floor division
3 ответов
+ 4
floor division: This division removes everything to the right of and including the decimal point.
+ 2
Basically everyone. You divide the two numbers. You get the floor of the number
7 // 2 = 3.5, 3.5's floor is 3
0
Imagine you have 11 🍏 and 3 😋
If you have a 🔪 everyone gets 3 🍏 and 2/3.
If you don't have a 🔪 everyone just gets 3 🍏 (your result when working with int) and you keep the remaining 2 🍏.