About 13,300 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

    4 days ago · Python functions are reusable blocks of code used to perform a specific task. They help organize programs into smaller …

  3. Built-in FunctionsPython 3.14.6 documentation

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

  4. Python Functions Explained: The Complete Beginner's Guide

    Jun 8, 2026 · Learn how Python functions work — defining them, using parameters, returning values, default arguments, *args, …

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

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

  6. 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 …

  7. Python Functions - Python Guides

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

  8. Python Tutorial - W3Schools

    Well organized and easy to understand Web building tutorials with lots of examples of how to use HTML, CSS, JavaScript, SQL, …

  9. Python Functions Guide: Parameters, Returns & Best Practices

    May 14, 2026 · Functions are the building blocks of every Python program. This guide covers how to define them, pass arguments, …

  10. How To Define A Function In Python?

    Feb 10, 2025 · In this tutorial, I helped you learn how to define a function in Python. I discussed defining and calling a function in …