⌨️ap computer science principles review

Len (function)

Written by the Fiveable Content Team • Last updated September 2025
Verified for the 2026 exam
Verified for the 2026 examWritten by the Fiveable Content Team • Last updated September 2025

Definition

The "len" function is used in programming languages to determine the length or size of a data structure, such as a string or list.

"Len (function)" also found in: