Python Programming 18. Functions

This is the 18th in a course of computer science video lessons introducing programming with Python. This lesson explains the difference between a sub procedure and a function. You will learn that, by definition, a function is a sub program that returns a value to the program that called it. The lesson begins with a review of procedure parameters. You will then meet the keyword return, which is all that is required to convert a procedure into a function. You also learn how to call a function and collect its return value. You will also see how a function call can be nested inside another function call.
Chapters:
00:00 Review of procedure parameters
02:25 Definition of a function
02:48 The return keyword
03:05 How to call a function
03:57 Nested function calls

Пікірлер: 5

  • @Oratordio
    @Oratordio Жыл бұрын

    The subtle distinction of a sub procedure and function by the change of print to return cant be understated, it makes a huge difference

  • @elodiahax1764
    @elodiahax1764 Жыл бұрын

    White background, my eyes are bleeding :(

  • @ComputerScienceLessons

    @ComputerScienceLessons

    Жыл бұрын

    Black background makes me fall asleep :)KD

  • @armingux
    @armingux Жыл бұрын

    What happened with the live stream? Was that U? Were u live? Are u gonna do more?

  • @ComputerScienceLessons

    @ComputerScienceLessons

    Жыл бұрын

    Live streams are on my other channel (www.youtube.com/@murvindrake9862/videos) I plan to do some more but I've not been well lately. :)KD