Length: Difference between revisions
Content added Content deleted
(Created page with "{{primitive}} The '''length''', a.k.a. '''count''', of a list is the number of its items. The length of a table is the number of its rows. The length of a dictionary is the le...") |
No edit summary Tags: Reverted Visual edit: Switched |
||
Line 1: | Line 1: | ||
{{primitive}} |
{{primitive}} |
||
{| class=wikitable style="width:40%;float:right" |
|||
|+ Caption text |
|||
|- |
|||
| Example || Example |
|||
|- |
|||
| Example || Example |
|||
|- |
|||
| Example || Example |
|||
|- |
|||
| Example || Example |
|||
|} |
|||
The '''length''', a.k.a. '''count''', of a list is the number of its items. The length of a table is the number of its rows. The length of a dictionary is the length of its key list or, equivalently, of its value list. By convention, atoms have length 1. |
The '''length''', a.k.a. '''count''', of a list is the number of its items. The length of a table is the number of its rows. The length of a dictionary is the length of its key list or, equivalently, of its value list. By convention, atoms have length 1. |
Revision as of 07:23, 6 July 2021
Length
{{{1}}}
Example | Example |
Example | Example |
Example | Example |
Example | Example |
The length, a.k.a. count, of a list is the number of its items. The length of a table is the number of its rows. The length of a dictionary is the length of its key list or, equivalently, of its value list. By convention, atoms have length 1.