- 3
Print(-4%3)
Suggest your answer with reason! :)
2 Answers
+ 2
This is not the place for this kind of post. This forum is for Q&A.
Please post this to your own page instead. đ
https://www.sololearn.com/Discuss/1316935/?ref=app
+ 2
The answer should be 2 as -4//3 is -2 (because floor division of x returns the largest integer less than or equal to x) so for -1.3333 , it will be converted to -2 as it is less than -1.33
So the remainder left is 2 hence the result.
here is the proof on code playground đšđŒâđ»đ
https://code.sololearn.com/cOfmC5v5qkxh/?ref=app



