What would you insert instead of ???, so that the program checks for even numbers?
What would you insert instead of ???, so that the program checks for even numbers?
![]()
A . x % ‘even’ == True
B . x % 2 == 1
C . x % 2 == 0
D . x % x == 0
E . x % 1 == 2
Answer: C
Latest PCEP-30-02 Practice Questions with 124 Q&As
Updated Study Material | Instant Download | Detailed Answers and Explanations
Subscribe
Login
0 Comments