Question 2 - Week 2 Practice | Prasnya
Prasnya
Continue with Google
Practice path
Dashboard
Exam
Qualifier / Quiz 1
Go to subject
Programing with python
Go to chapter
Week 2
Question 2
00:00
Est. 2 min
Marks:
+3.00
0.00
Consider the below code. Select the possible output(s) of the given code, assuming any possible values for `x`, `y`, and `z`. ``` if x: print('x') else: if y: if z: print('z') print('y') else: print('none') ```
Multiple correct
Medium Difficulty
26 October 2025
A
x
B
z y
C
x y
D
none
E
x z
F
y