What does the % in a calculation? I can\'t seem to work out what it does.
%
Does it work out a percent of the calculation for example: 4 % 2
4 % 2
Python - Basic Operators http://www.tutorialspoint.com/python/python_basic_operators.htm
Modulus - Divides left hand operand by right hand operand and returns remainder
a = 10 and b = 20
b % a = 0