0

>>> x =3 >>>num=17 >>>print (num%x)

what's the answer

21st Apr 2020, 6:19 PM
Gloria👻
Gloria👻 - avatar
3 odpowiedzi
+ 1
You can run it, 2
21st Apr 2020, 6:22 PM
Justus
Justus - avatar
+ 1
It's 2 as Modulo operator tells about the remainder. num= x * quotient + remainder 17=( 3 * 5 )+2
21st Apr 2020, 6:23 PM
Akshay Jain
Akshay Jain - avatar
+ 1
I don't know what's your intention behind this, but this seems more to be our test than your query. If it is, then avoid it... Meanwhile, answer is 2
22nd Apr 2020, 10:34 AM
Varun Vaswani
Varun Vaswani - avatar