0

Module 1 Quiz last question

Can someone please explain this to me?

10/12/2016 12:33:40 AM

Elijah

2 Answers

New Answer

+2

This? What is the output of this code? >>> x = 3 >>> num = 17 >>> print(num % x) The "%" does the division between 17 and 3 and gets the remainder, in this case is 2. Examples: 7%2 = 1 8%3 = 2 9%3 = 0 100%45=10 Regards

0

what is answer