Home
/
Python 3.11
/
Enum
/
__len__(self):
Python 3.11
Fungsi
ID
EN
…
Enum
__len__(self):
Python 3.11
🇮🇩 Bahasa Indonesia
Returns number of members in flag:
Syntax
PYTHON
Copy
__len__(self):
Contoh
Example 1
PYTHON
Copy
>>> len(Color.GREEN) 1 >>> len(white) 3