मराठी

Add a pair of parentheses to the expression so that it evaluates to True. 2 + 3 == 4 + 5 == 7 - Computer Science (Python)

Advertisements
Advertisements

प्रश्न

Add a pair of parentheses to the expression so that it evaluates to True.

2 + 3 == 4 + 5 == 7

एका वाक्यात उत्तर

उत्तर

(2 + (3 == 4) + 5) == 7

shaalaa.com
Operators in Python - Relational Operator (>,>=,<=,=,!=)
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 5: Getting Started with Python - Exercise [पृष्ठ ११६]

APPEARS IN

एनसीईआरटी Computer Science [English] Class 11
पाठ 5 Getting Started with Python
Exercise | Q 4. b) | पृष्ठ ११६
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×