0
Пояснить 7%(5//2)
пять делим на 2, затем 7 делим по модуль на 2,5?
4 Answers
+ 25
// is floor division. It gives the nearest floor integer, like 3.5 should be considered as 3
5//2 = 2
7%(5//2) = 7%2 = 1
+ 11
@Sophia, % is remainder. If you divide 25 by 4, the quotient is 6 but 1 remains, and that 1 is remainder. 25%4 is 1
+ 3
I do not speak russian (or whatever language this is) but I think I can understand the question. // is an operator called floor division which retrieves the quotient of the division and not the exact result. Here are some examples:
9//3 = 3
16//7 = 2
64 // 5 = 12
0
what is %