English

Add a pair of parentheses to the expression so that it evaluates to True. 1 < -1 == 3 > 4 - Computer Science (Python)

Advertisements
Advertisements

Question

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

1 < -1 == 3 > 4

One Line Answer
Advertisements

Solution

(1 < -1) == (3 > 4)

shaalaa.com
Relational Operator (>,>=,<=,=,!=)
  Is there an error in this question or solution?
Chapter 5: Getting Started with Python - Exercise [Page 116]

APPEARS IN

NCERT Computer Science [English] Class 11
Chapter 5 Getting Started with Python
Exercise | Q 4. c) | Page 116
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×