Why 26 // 5 / 2 = 2.5 ? I dont understand it :( | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why 26 // 5 / 2 = 2.5 ? I dont understand it :(

1st Dec 2015, 9:25 PM
Michal
Michal - avatar
2 Answers
0
26 // 5 = 5, which means 5 goes into 26 for 5 times :)
2nd Dec 2015, 7:46 PM
Andre Pan
Andre Pan - avatar
0
// floor division which is nothing but a quotiant. 26 has five 5's so it shows the quotiant if you want to see the reminder 1 you can use % 26 % 5 = 1
13th Jul 2016, 7:11 PM
sundar
sundar - avatar