Report Bug

QusWhat happens when multiple if statements are used instead of if-elif? Qusक्या होता है जब if-elif के स्थान पर मल्टीपल if स्टेटमेंट्स का यूज़ किया जाता है?


A. Only the first condition is checked.
B. All conditions are checked, even if one is True.
C. It behaves the same as if-elif.
D. It raises an error.


Solution
B. All conditions are checked, even if one is True.



Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2026 Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Best Website and Software Company in Allahabad