0
Help I think it is a glitch
What is the output of this code? >>> x = 3 >>> num = 17 >>> print(num % x) I got:0.51 and it only let me put in one number so I rounded it to 1 and it's wrong! Can someone help me?
6 Answers
+ 4
computers are never wrong, glitches are just mistakes by the programmers
+ 3
The output is 2.
3*5=15, so the rest is 2.
+ 3
% its not division, its the rest. for divide use this -> /
+ 1
How
+ 1
Can you explain please