$ ./guess_the_languageProblem Solving — fill the blank
Problem Solving — fill the blank · easy · #15

Fill the built-in that returns how many elements a list has.

n = ____(arr)   # number of elements

Answer: len (also accepted: len)

len(arr) returns the element count.
Play Problem Solving ▸