Hello everyone, I'm Starting to learn Python with sololearn. One of the quiz questions threw me, it's what is the output of this code?
x=3
num=17
print(num%x)
the answer appears to be 2 but I'm not sure why, can someone please explain lol
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.