What is mystery about this division , 66 // 11, 67 // 11 , all of them give 6 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is mystery about this division , 66 // 11, 67 // 11 , all of them give 6

24th Jan 2018, 6:19 PM
Surya Prakash Gupta
Surya Prakash Gupta - avatar
4 Answers
0
// is an integer division. when you write x//y its basically how often will y fit in x? 11 fits in 66, 6 times remainder is 0 11 also fits 6 times in 67 with a remainder of 1. but // only returns the non remainder value
24th Jan 2018, 7:22 PM
Jeremy
Jeremy - avatar
+ 1
thanks Jeremy , that helps a lot !
25th Jan 2018, 4:18 AM
Surya Prakash Gupta
Surya Prakash Gupta - avatar
0
han :p
27th Jan 2018, 9:01 PM
Surya Prakash Gupta
Surya Prakash Gupta - avatar
- 1
kya be ye sb puchoge...
25th Jan 2018, 3:10 PM
Anshul Saxena
Anshul Saxena - avatar