Computer Science · Python Operator Chaining
डिबगिंग के दौरान, एक छात्र अभिव्यक्ति लिखता है: result = a > b > c। पायथन के ऑपरेटर चेनिंग नियमों के अनुसार, इस अभिव्यक्ति का मूल्यांकन कैसे किया जाता है?
- 1पहले (a > b) का मूल्यांकन किया जाता है, फिर बूलियन परिणाम की तुलना c से की जाती है
- 2a को अनदेखा करते हुए केवल (b > c) का मूल्यांकन किया जाता है
- 3c को अनदेखा करते हुए केवल (a > b) का मूल्यांकन किया जाता है
- 4इसका मूल्यांकन (a > b) and (b > c) के रूप में किया जाता है✓
सही उत्तर देखें
इसका मूल्यांकन (a > b) and (b > c) के रूप में किया जाता है
Download Single Question PDF
Save this question and verified answer as a clean study sheet with live clickable link.
Share with Friends & Study Groups
Challenge your peer aspirants on WhatsApp or Telegram to solve this question!
Preparing for Computer Science?
Practice full-length Computer Science mock tests with real exam timers, instant score analysis, and all-India ranking.
Want more practice questions on Python Operator Chaining?
Solve complete topic-wise tests with detailed solutions on GkGet.
Related Practice Questions
Recommended practice questions in Computer Science · Python Operator Chaining