0

Please do a step by guide to solve this equation. 7%(5//2)

11th Jun 2017, 2:58 PM
Cooper Mollet
Cooper Mollet - avatar
2 Respostas
+ 1
In Python - 1- 7%(5//2) .... your expression 2- 7%2 .... as on python 5//2=2 (returns only int) 3- 1 .... your answer as 7/2 return 1 as remainder
11th Jun 2017, 3:09 PM
Sanju Sarkar
Sanju Sarkar - avatar
+ 1
7%(5//2) = (integer division) 7%2 = (modulus operation) 1
11th Jun 2017, 3:09 PM
merkrafter