10,900 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. Built-in functions — Python 3.15.2 documentation

    2 days ago · Python doesn’t depend on the underlying operating system’s notion of text files; all the processing is done by Python …

  3. Python Functions - GeeksforGeeks

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

  4. What does -> mean in Python function definitions? - Stack Overflow

    Jan 17, 2013 · It's a function annotation. In more detail, Python 2.x has docstrings, which allow you to attach a metadata string to …

  5. Functional Programming HOWTO — Python 3.15.2 documentation

    Functional programming wants to avoid state changes as much as possible and works with data flowing between functions. In …

  6. Function Objects — Python 3.15.2 documentation

    3 days ago · These functions are similar to their PyFunction_Get* counterparts, but do not do type checking. Passing anything other …

  7. Python 3.15.2 documentation

    2 days ago · This page is licensed under the Python Software Foundation License Version 2. Examples, recipes, and other code in …

  8. Python Functions - Python Guides

    Functions are one of the most powerful features in Python, enabling code reuse, abstraction, and modularity. By mastering the …

  9. math — Mathematical functions — Python 3.15.2 documentation

    2 days ago · This module provides access to common mathematical functions and constants, including those defined by the C …

  10. Python Functions (With Examples) - Programiz

    A function is a block of code that performs a specific task. In this tutorial, we will learn about the Python function and function …