Built-in Function

say it: “BILT in FUNGK-shun” /ˈbɪlt ɪn ˈfʌŋkʃən/

A function that comes with Python, like print() and len(). No import needed.

What is a built-in function?

A built-in function comes with Python, ready to use without importing anything. print(), len() and input() are built-in functions.

prices = [3, 8, 5]
print(len(prices))  # 3
print(max(prices))  # 8
print(sum(prices))  # 16

Level: Novice · More Python terms at this level

Updated