Save this video free

Python (Fall 2026) Module 2-4: Understanding Functions

Bill Moseley, Ph.D. - Computer Science Educator · 17:06 · Watch on YouTube

Part of Bakersfield College COMP B10. See all 47 lectures and search them

These notes were made with YouTube Collector. Paste any YouTube link and get the same: a summary, chapters and a searchable transcript.

Overview

Bill Moseley explains how to read Python function references and why programmers should learn to look up functions rather than memorize every parameter. Using print, input, and type, he demonstrates the difference between functions that perform an action and functions that return values, including storing, nesting, and inspecting those values.

Key takeaways

Chapters

0:00 Reading Python Function References and Understanding Return Values
4:41 Using input, Variables, and Nested print Calls
13:37 Inspecting Values with type and Pausing with input

Keep these chapters and the full searchable transcript in your own library.

Transcript excerpt

0:02 So we've talked about variables and data types.  I want to talk a little bit about functions, and what I mean when I say function. So a  function is like print, and I will add a link in Python, or in our class on Canvas, to  a function reference that has a lot of our basic functions that we'll be using in this class, in  pages like this. And this is a common format. If you Google Python print function, you will  come up with a web page that looks a lot like this. It often has these same elements. So I want  to teach you now how to read a page like this so that you can use any function that you can look  up in Python. Why do I want you to learn that?

0:54 Because for the rest of your programming  life, you will be looking up functions. I looked up a function yesterday, and I've  been doing Python programming for decades. But here's the deal. Our brains, in spite of  everything you've learned, your entire education, are not containers for data. Our brains are  thinking machines. Trying to store a bunch of data in there just clouds your ability to  think. You only got a certain amount of space. In fact, one researcher described our brains as  like a small table. You can put stuff on the small table and you can add as much as you want there,  but eventually you're going to add so much crap on the small table that you're going to be pushing  other stuff off. So here's what I suggest. This

1:45 isn't a memorize it kind of class. This is a  have an idea of what's possible kind of class, and learn how to look it up. And if you focus  on that in your programming. You know, you've

This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.

In this course

Related notes

Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Bill Moseley, Ph.D. - Computer Science Educator.

Want the full transcript?

Save this video in YouTube Collector to get its complete searchable transcript, your own AI summaries, and a library that keeps every video you collect in one place.