0
Modulo operator based question.
>>>print(6%20) 6 ______________________________________________________________ āAbove the expression output is 6. How anyone explain meā ______________________________________________________________ >>>print(6//20) 3 ______________________________________________________________ āThese i understood that 6 goes 20 three times.....ā ā EXPLAIN IN EASY WAY,PLEASE.....THANK YOU
4 Answers
+ 7
Krishna % symbol gives you reminder.So if you divide 20 by 6 answer is 6//
0
Simba reminder 6 by 20 is 2
0
Do it pratically
0
šš¢š¢ššØ šš”šš²šš„ In these chapter show that In the example above, 20 % 6 will return 2, because 3*6+2 is equal to 20...........but execute these code in compiler itsd give6 why?