0
What is the result of this code?
>>>7%(5//2)
2 odpowiedzi
+ 2
5//2 results in 2
// is floor division.
it returns an integer always.
5/2=2.5 and 5//2=2
6//2= 3 and 6//2=3
'//' is equivalent to '/' and greatest integer function
7%2 will now return 1 as it is the remainder when you divide 7 by 2
0
you are the biggest idiot in the world bro