हिंदी

Write a logical expression corresponding to the following statement in Python and evaluate the expressions (assuming variables num1, num2, num3, first, middle, and last are already - Computer Science (Python)

Advertisements
Advertisements

प्रश्न

Write a logical expression corresponding to the following statement in Python and evaluate the expressions (assuming variables num1, num2, num3, first, middle, and last are already having meaningful values):

The string ‘middle’ is larger than the string ‘first’ and smaller than the string ‘last’.

एक पंक्ति में उत्तर

उत्तर

 

(middle > first) and (middle < last)
shaalaa.com
Sequence
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 5: Getting Started with Python - Exercise [पृष्ठ ११६]

APPEARS IN

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

Englishहिंदीमराठी


      Forgot password?
Use app×