0

20 // 6 =3 1.25 % 0.5 0.25. What does it mean

21st Mar 2020, 5:04 AM
Rohtash Kanwar
Rohtash Kanwar - avatar
4 ответов
+ 1
Here already given with explanation. Here % returns reminder value and // returns quotient value so 20 % 6 will return 2 20 // 6 will return 3 because 3 * 6 + 2 = 20 means quotient * divisor + reminder = dividend https://www.sololearn.com/learn/JUMP_LINK__&&__Python__&&__JUMP_LINK/2273/
21st Mar 2020, 6:15 AM
A͢J
A͢J - avatar
0
Do you mean this operator %
21st Mar 2020, 6:15 AM
🦋FEATHER🦋
🦋FEATHER🦋 - avatar
0
'//' operator will return the quotient in whole numbers. It will not give the result in float/decimal numbers. '%' operator, known as modulus returns the remainder.
21st Mar 2020, 7:04 AM
Taranjeet
Taranjeet - avatar
0
Rohtash Kanwar % = Tells remainder // = Tells the answer after rounding it to the previous integer even if it is 5.8, ans would be 5 10 % 2 means 0 coz remainder is 0 13 % 5 is 3 coz 5*2 = 10 and remainder is 3 7//3 You can understand // by thinking how many steps did 3 take to get near 7, 3 * 2 = 6 so 2 steps.
21st Mar 2020, 9:04 AM
maf
maf - avatar