What is the output of (7%(5//2)) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

What is the output of (7%(5//2))

(7%(5//2)) =1? How?

15th Apr 2021, 2:56 AM
Кирилл Кузнецов
3 Answers
+ 4
(7%(5//2)) = (5//2) = 2 7%2 = 1
15th Apr 2021, 3:30 AM
Scarlet Witch
Scarlet Witch - avatar
+ 2
(7%(5//2) 7%2 1 () - come firt // - this calculate division without decimals % - this calculate rest after division Eg - 7%4 Answers is 3 Good luck
15th Apr 2021, 3:49 AM
Ravindu Dilshan
Ravindu Dilshan - avatar
+ 2
Кирилл Кузнецов (7%(5//2)) = (5//2) = 2 7%2 = 1
15th Apr 2021, 11:53 PM
❤️😍Prerana😍❤️
❤️😍Prerana😍❤️ - avatar