Post

@Python_Dv Answer: (B) Medium
The code initializes the variable x to 10. The first if statement checks if x > 5, which is true (10 > 5). The program then enters the nested block and encounters another if statement that checks if x > 15. This condition
English

@Python_Dv The output is “Medium”.
Reason:
x = 10
if x > 5 is true, so the inner block runs.
if x > 15 is false, so it goes to else.
else prints "Medium".
Correct choice: B. Medium
English

@Python_Dv x = 10
10 > 5 → True,
so we enter the outer if
10 > 15 → False
The inner else runs and prints "Medium"
so output comes Medium
English

@Python_Dv Why does this account ask shit questions and why is Algo putting this in my feed
English

@Python_Dv B. Medium
x = 10
if x > 5 is true, so the inner block runs.
if x > 15 is false, so it goes to else.
else prints "Medium".
English





























