Q. Add parentheses to the following expression to make the order of evaluation more clear.


y % 4 ==0 and y % 100 != 0 or y % 400 == 0 

Answer = 

(y % 4 ==0 ) and (y % 100 != 0 ) or  (y % 400 == 0 )

You can uderstand by watching videos -----


Post a Comment

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Previous Post Next Post