Post

Python Developer
Python Developer@PythonDvz·
🤔🚀 Comment your answers below! 👇
Python Developer tweet media
English
38
8
109
12.7K
Earnest Codes
Earnest Codes@Earnesto037·
@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
1
0
9
809
Jay
Jay@learnaiwthme·
@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
1
0
3
747
Ehshanulla
Ehshanulla@Ehshanulla·
@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
0
0
1
138
Talha
Talha@CoreNeuro1620·
@Python_Dv B. Medium since x is 10 and only passes the first if
English
0
0
0
4
Abubakar
Abubakar@Abubakar1394663·
@Python_Dv Why does this account ask shit questions and why is Algo putting this in my feed
English
0
0
0
55
Ranjan
Ranjan@Ranjanrgdev·
@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
0
0
0
560
Paylaş