Prasnya
Prasnya
Prasnya
Continue with Google
Question 5 - Week 7 Practice | Prasnya
Q5
00:00
13 Jul 2025
Q5.
In the given code, if we change the condition to `if element % 2 == 0` at line 7, then what is the value of `output` after executing it?
@passage
A
[4, 8, 12]
B
[4, 8, 10]
C
[9, 10]
D
[6, 8, 12]
Save
Read
Check
Details
Q5
00:00
13 Jul 2025
Q5.
In the given code, if we change the condition to `if element % 2 == 0` at line 7, then what is the value of `output` after executing it?
@passage
A
[4, 8, 12]
B
[4, 8, 10]
C
[9, 10]
D
[6, 8, 12]
Save
Read
Check
Details