whats the real use of // | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

whats the real use of //

23rd Feb 2017, 5:32 PM
Kurian John
Kurian John - avatar
2 Answers
+ 9
// is floor division. 5//2= 2 means how many 2 fit in 5 that is 2. :D
23rd Feb 2017, 5:35 PM
Mr.Robot
Mr.Robot - avatar
+ 3
Simply stating, floor division is a combination of division and floor operators.
24th Feb 2017, 4:38 AM
Krishna Teja Yeluripati
Krishna Teja Yeluripati - avatar