+ 1

if x%2==0: what does this mean

31st Oct 2020, 7:12 AM
Ahmed Ali
Ahmed Ali - avatar
3 Réponses
+ 8
%-->gives remainder X%2==0-->means if x is completely divisible by 2 (a popular check for even nos).
31st Oct 2020, 7:16 AM
Alphin K Sajan
Alphin K Sajan - avatar