The len() built-in function

What other data types do len(), work with?

1 Like

Hi @venkateshthebiochemi,

See official documentation here: Python Built-in Functions: len(s)

The argument may be a sequence (such as a string, bytes, tuple, list, or range) or a collection (such as a dictionary, set, or frozen set).


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.