0

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

how to do this.??..can anyone help me..!!

15th Nov 2016, 4:49 AM
Darshen Nithiyanandnan
Darshen Nithiyanandnan - avatar
2 Answers
+ 1
The >>>'s mean 'type this in python interpreter and press enter'. If you use the code playground omit them and just use 3 lines.
15th Nov 2016, 9:33 AM
Kirk Schafer
Kirk Schafer - avatar
- 2
var x=3 var num =17 print(num%x) This should do it
15th Nov 2016, 6:18 AM
Arsal Ali
Arsal Ali - avatar