About 7,730 results
Open links in new tab
  1. Python return statement - GeeksforGeeks

    Dec 20, 2025 · The return statement is used inside a function to send a value back to the place where the function was called. Once …

  2. The Python return Statement: Usage and Best Practices

    Sep 28, 2020 · See how Python return values work, including multiple results, so you write clear, testable functions. Follow examples …

  3. Python Return Statement

    Feb 16, 2026 · Master the Python return statement with this expert guide. Learn to return single values, multiple objects, and …

  4. Python return Keyword - W3Schools

    Definition and Usage The return keyword is to exit a function and return a value.

  5. python - What is the purpose of the return statement? How is it ...

    Python will actually insert a return value for you if you decline to put in your own, it's called "None", and it's a special type that simply …

  6. 7. Simple statements — Python 3.14.7 documentation

    1 day ago · In a generator function, the return statement indicates that the generator is done and will cause StopIteration to be …

  7. Python Tutorial - W3Schools

    Learning by Examples With our "Try it Yourself" editor, you can edit Python code and view the result.

    Missing:
    • return
    Must include:
  8. What Is Python Return Statement?

    Jan 8, 2025 · Learn about the Python `return` statement, its purpose, syntax, and usage in functions. This guide includes examples …

  9. Python Function Return Values Explained - PyTutorial

    Feb 5, 2026 · Learn how Python functions use the return statement to send data back to the caller, with examples of single values, …

  10. Python Return Values: Function Output Guide - PyTutorial

    Feb 5, 2026 · Learn how Python functions return values, handle multiple outputs, and use None effectively to write cleaner, more …