हिंदी

Write a logical expression corresponding to the following statement in Python and evaluate the expressions (assuming variables num1, num2, num3, first, middle, and last - 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):

num3 is not more than 24.

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

उत्तर

num3 <= 24   or not(num3 > 24)
shaalaa.com
Number
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 5: Getting Started with Python - Exercise [पृष्ठ ११५]

APPEARS IN

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

Englishहिंदीमराठी


      Forgot password?
Use app×