Array length: Difference between revisions

(reformatted as a draft task and adding proper headings, moving the see also section up and not making that a heading.)
(→‎{{header|PHP}}: Add Python)
Line 13:
 
<lang php>print count(['apple', 'orange']); // Returns 2</lang>
 
=={{header|Python}}==
<lang python>>>> print(len(['apple', 'orange']))
2
>>> </lang>
 
=={{header|SQL}}==
Anonymous user