Here, % sign was the Modulus operator.
Look at the example:
C:\Users\jon>python
Python 2.6.5 (r265:79096, Mar 19 2010, 21:48:26) [MSC v.1500 32 bit (Intel)] on win
Type "help", "copyright", "credits" or "license" for more information.
>>> 3%4
3
>>> 4%3
1
>>> 4.5%3
1.5
>>> 4%3.5
0.5
Want to learn python to get expertise in the concepts of python? Join python certification course and get certified
For more details, do check out the below video tutorial...