PYTHON
print(2 == 3)
print(2 == 3) False Heads Up! Be careful not to confuse assignment (one equals sign) with comparison (two equals signs). But don’t worry, we’ll be talking more about this later.
% is used for getting the remainder after the division of any two numbers.
The output will be "2" : x has been assigned a value of 3 and num of 17. Now, we divide num by x or 17 by 3, the answer would give the remainder after the division and i.e. 2; % is used for getting the remainder after the division of any two numbers. So : 3 x 5 = 15; 17 - 15 = 2;