हिंदी

State True or False: A Python List must always contain all its elements of same data typе. - Computer Science (Python)

Advertisements
Advertisements

प्रश्न

State True or False:

A Python List must always contain all its elements of same data typе.

सत्य या असत्य
Advertisements

उत्तर

This statement is false.

Explanation:

Python lists allow the storage of different types of data.

For Instance:

L = [1,2,3,4]
L1 = [“Abc”,12,15.5,True]
shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
2024-2025 (March) Set 4
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×