About 9,770 results
Open links in new tab
  1. Python Functions - W3Schools

    Python Functions A function is a block of code which only runs when it is called. A function can return data as a result. A function …

  2. Python Functions - GeeksforGeeks

    Sep 19, 2026 · Python functions are reusable blocks of code used to perform a specific task. They help organize programs into …

  3. Built-in functions — Python 3.15.2 documentation

    2 days ago · Built-in functions ¶ The Python interpreter has a number of functions and types built into it that are always available. …

  4. Python 3.15.2 documentation

    1 day ago · What's new in Python 3.15? Or all "What's new" documents since Python 2.0 Tutorial Start here: a tour of Python's …

  5. Python Functions (With Examples) - Programiz

    In this tutorial, we will learn about the Python function and function expressions with the help of examples.

  6. Welcome to Python.org

    Functions Defined The core of extensible programming is defining functions. Python allows mandatory and optional arguments, …

  7. Python Functions - W3Schools

    Recursion Python also accepts function recursion, which means a defined function can call itself. Recursion is a common …

  8. Python - Functions - Online Tutorials Library

    A Python function is a block of organized, reusable code that is used to perform a single, related action. Functions provide better …

  9. Python Functions - Python Guides

    Python Functions Functions are a fundamental building block in Python programming. They allow you to encapsulate reusable code, …

  10. Python Built-in Functions - W3Schools

    Python has a set of built-in functions.