+ 1
What does this mean 20//6
5 Réponses
+ 4
It's the ammount of times 20 can be divided by 6. the output is 3. This operator is called floor division. Think of it like normal division but here the decimal points are removed.
Example
5//4 = 1
9//2 = 4
10//2.6 = 3.0
0
thanks dude it really helped
can u send me ur whatsapp no.?
0
on normal basics 20 divide by 3 is 3.33333 which is 20 / 3 but in d aspect of 20 // 3 d answer is just 3 because it does not show the remainder
0
a//b means integer division of a by b
and the operation occur for only one time
for example 20//5 will be 4
m i right ?
or it will perform operation for twice ?
whats the correct thing??
0
it is for floor.. means that when dividing 20/6 we got a float value.. to eliminate the decimal part use double / for floor the value... 20//6 get 3..