English

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 - Computer Science (Python)

Advertisements
Advertisements

Question

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):

List Stationery is empty.

One Line Answer

Solution

len(Stationery) == 0
shaalaa.com
Sequence
  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 3. e) | Page 116
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×