# Built-in Function

> A function that comes with the language. You can use it with no import.

**Field:** Software Development  
**Category:** Programming Concepts  
**Also known as:** Builtin Function, Built-ins, Built-in Functions

## 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.

## Definition

A built-in function comes ready inside a language. You can call it without writing it or importing anything. Python has print(), len() and int(). JavaScript has parseInt() and setTimeout(). Built-ins are tested by many people, so they are a safe first choice before you write your own.

## Example

Lucy wants to count the letters in a name. She uses Python's len() and gets 5 for "Hello".

## Example code

```python
print(len("Hello"))
# 5
```

Two built-ins in one line. len() counts and print() shows the answer.

## Why it matters

Knowing the built-ins saves you from writing code that is already there. You will see their names in most programs.

## Common mistake

Naming your own variable after a built-in, like list or len. The built-in is then hidden and stops working.

## Three principles

- **Ready to use.** No import or set-up needed.
- **Well tested.** Used by millions of programs.
- **Do not shadow.** Never reuse their names.

## Related terms

- [Function](https://learn.benibix.com/term/development/function)
- [Function Call](https://learn.benibix.com/term/development/function-call)
- [Software Library](https://learn.benibix.com/term/development/library)
- [Python](https://learn.benibix.com/term/development/python)
- [Return Value](https://learn.benibix.com/term/development/return-value)

## Taught in

- [Functions in Python](https://learn.benibix.com/learn/development-concepts/functions-in-python): Programming Basics, 12/18

![Six small cards in two rows. Type conversion turns the text 42 into the number 42. Concatenation joins Hello and Emma. A tuple holds three values in fixed slots. An enum lists RED, AMBER and GREEN. A built-in function len counts five letters in hello. A hard-coded line has a tax rate of 0.2 written straight into the sum.](https://learn.benibix.com/diagrams/dev7-working-with-values.svg)

---

Source: https://learn.benibix.com/term/development/built-in-function
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-17
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
