57//9 what is it, and how to solve? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

57//9 what is it, and how to solve?

16th Dec 2020, 4:14 AM
Vashi Khan
Vashi Khan - avatar
7 Answers
+ 3
Vashi Khan When you devide using single slash / then you get output with decimal point but using floor division // you will get output without decimal. For example: 57 / 9 = 6.33333 57 // 9 = 6
16th Dec 2020, 4:45 AM
A͢J
A͢J - avatar
+ 2
Vashi Khan Check the comment section on the lesson I Am Groot ! sent, every explanation you need is already there. Good Luck.
16th Dec 2020, 4:31 AM
noteve
noteve - avatar
+ 1
Explanation need !
16th Dec 2020, 4:30 AM
Vashi Khan
Vashi Khan - avatar
+ 1
I know, but there was different different types explainer, which one is correct didn't know !
16th Dec 2020, 4:33 AM
Vashi Khan
Vashi Khan - avatar
+ 1
57 // 9 = 6 The operation "//" results in how many 2nd numbers are in the 1st number. However, the result will not be ceded. For example, the result of operation 1 // 2 is 0. In fact, when we divided 1 by 2, the result would be 0.5, but this would delete the portion of the small numbers after the comma.
16th Dec 2020, 8:34 AM
YaSeAr
YaSeAr - avatar
+ 1
It gives only integer part E.g.. 57//9=6 It gives float 57/9 =6.33333
17th Dec 2020, 4:22 PM
ABHISHEK PANDEY
ABHISHEK PANDEY - avatar