+ 2

what is floor division

python asks me to use floor division but how can i use it when i dont know what floor division is and how to use it!

18th Mar 2018, 3:33 PM
silkycoder
silkycoder - avatar
2 Answers
+ 3
Double Slash (//) is called Floor Division. In Python3 it's used in numeric calculation (division) to get integer quotient. example: 10/2 = 4.5 or 10//2 = 4 50/16 = 3.125 or 50//16 = 3 NOTE: FLOOR DIVISION IS EXPRESSED BY 2 FORWARD SLASHES https://www.sololearn.com/learn/JUMP_LINK__&&__Python__&&__JUMP_LINK/2273/
18th Mar 2018, 3:45 PM
📈SmileGoodHope📈
📈SmileGoodHope📈 - avatar
+ 2
thanks that helped me lots
25th Mar 2018, 4:20 PM
silkycoder
silkycoder - avatar