Companies Home Search Profile

Using the Python return Statement Effectively

Focused View

Howard Francis

1:26:47

137 View
  • Lesson 1 Welcome.mp4
    01:16
  • Lesson 2 Getting Started.mp4
    02:45
  • Lesson 3 Implicit return.mp4
    03:15
  • Lesson 4 Explicit return.mp4
    06:17
  • Lesson 5 Returning vs Printing.mp4
    05:39
  • Lesson 6 Multiple Values.mp4
    03:24
  • Lesson 7 return None.mp4
    02:53
  • Lesson 8a Return Value, Complex Expression.mp4
    04:10
  • Lesson 9 (not) Modifying Globals.mp4
    05:08
  • Lesson 10 Conditionals.mp4
    05:48
  • Lesson 11 True False part 1.mp4
    04:48
  • Lesson 12 True False part 2.mp4
    05:28
  • Lesson 13 Short Circuiting.mp4
    04:13
  • Lesson 14 Dead Code.mp4
    01:56
  • Lesson 15 Named tuples.mp4
    04:33
  • Lesson 16 Closures.mp4
    05:12
  • Lesson 17 v3.mp4
    06:42
  • Lesson 18 Factory Pattern.mp4
    04:50
  • Lesson 19 try finally.mp4
    03:53
  • Lesson 20 Generator Functions.mp4
    03:46
  • Lesson 21 Summary.mp4
    00:51
  • Return Statement FF.pdf
  • python return course code.zip
  • Description


    The Python return statement is a key component of functions and methods. You can use the return statement to make your functions send Python objects back to the caller code. These objects are known as the function’s return value. You can use them to perform further computation in your programs.

    Using the return statement effectively is a core skill if you want to code custom functions that are Pythonic and robust.

    In this course, you’ll learn:

    What You'll Learn?


    • How to use the Python return statement in your functions
    • How to return single or multiple values from your functions
    • What best practices to observe when using return statements
    • How to structure more advanced return statements

    More details


    User Reviews
    Rating
    0
    0
    0
    0
    0
    average 0
    Total votes0
    Focused display
    Category
    Howard Francis
    Howard Francis
    Instructor's Courses

    Wanting to learn Python, Howard did what any college instructor would do – he taught a class in it. He loved it. (You’ll have to ask his students how they felt.) He continued learning after the course was over, and found Real Python to be one of the most useful sources of information. Now he’s here hoping to help others.

    Howard currently teaches Computer Science and Mathematics at the University of Pikeville in eastern Kentucky. An amateur musician, he plays trumpet in local wind bands, organ at his church, and is learning guitar.

    Learn Python online: Python tutorials for developers of all skill levels, Python books and courses, Python news, code examples, articles, and more.
    • language english
    • Training sessions 21
    • duration 1:26:47
    • Release Date 2023/01/05

    Courses related to Python