What is floor division? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

What is floor division?

17th Aug 2016, 5:57 PM
Omkar Desai
2 Antworten
0
when you divide numbers and its quotient will always be an integer : 7//2=3 mod=1 16//2=8 mod=0 5//3=1 mod=2
24th Aug 2016, 10:43 PM
Iqbal Cáceres
Iqbal Cáceres - avatar
0
floor division you take the remainder if there is any and get rid of it 5//2 -> 2
22nd Oct 2016, 1:46 AM
toygrill11