🧩Built-in Function
Also known as Builtin Function, Built-ins, Built-in Functions
A function that comes with the language. You can use it with no import.
Think of it like
It is like the tools that come with a new bike. You can use them at once, with nothing to buy.
Example
Why it matters
Knowing the built-ins saves you from writing code that is already there. You will see their names in most programs.
Definition
Example code
python
print(len("Hello"))
# 5Common mistake
Key takeaways
- 1Ready to use. No import or set-up needed.
- 2Well tested. Used by millions of programs.
- 3Do not shadow. Never reuse their names.