Callable Check in Python
Level 120 keystrokes
This checks if the len function is callable using callable().
Python code
# callable() returns True if the object can be called with () like a function# len is a built-in function, so True is printed1print(callable(len))Output
True
Practice typing this code. Results are not recorded in the rankings.
Symbols in this code
The symbols you type in this Python code and how often they appear.
(× 2)× 2