+ 2

What is the Output?

What is the output and why?: 7%(5//2)

24th May 2019, 11:07 AM
Elias Piersig
Elias Piersig - avatar
1 Resposta
0
5 // 2 = 2 Its like if you rounded 2.5 to 2 // = division with round 7%(5//2) = 7%2 = 1 #output is 1
24th May 2019, 11:11 AM
Théophile
Théophile - avatar