Explain the ‘%’ and ‘//’ operators with examples
Answers
Answered by
0
Answer:
% is modulo operator which is used to find remainder of a division
eg:11%3 =2
|| this is logical operator.It is a boolean operation gives value true or false according to condition.
in a statement if any condition is true the answer is true
eg:(5==5||2>4) answer is true since 5=5
Similar questions