Python Programming Fundamentals | Python Functions

Veröffentlicht am: 14 Oktober 2024
auf dem Kanal: Dan Kornas
573
15

🎓 Unlock personalized mentorship, early access to exclusive AI resources, and join a supportive learning community—sign up now for the AI Learning Membership at https://ailearninghub.io

-------------------------
In this video, you’ll learn how to work with functions in Python. We’ll cover how to define functions using the def keyword, pass parameters, return values, and even work with default parameters. You’ll also learn about more advanced topics like recursion, lambda functions, and handling variable-length arguments. By the end of this video, you’ll have a solid understanding of how to use functions to make your code more modular and reusable.

To start learning without installing Python locally, use Google Colab.
Introduction to Google Colab:    • Google Colab Basics  
Create a new Google Colab Notebook: https://colab.research.google.com/#cr...
Github Code: https://github.com/dankornas/ai-roadm...

Table of Contents:

0:00 Introduction to Python Functions
0:15 Defining a Function using def
0:29 Creating a Simple Greeting Function
1:17 Adding Parameters to a Function
2:14 Returning Values from Functions
2:30 Creating an Add Function
3:13 Using Default Parameter Values
4:15 Named Arguments for Clarity
4:26 Describing a Pet Function Example
6:02 Variable-Length Arguments (*args)
6:07 Making a Pizza Function with Multiple Toppings
8:30 Recursive Functions (Factorial Example)
9:54 Introduction to Lambda Functions
10:31 Creating a Simple Lambda Function
11:14 AI Learning Hub Membership

-------------------------

Social channels:
🐦Twitter:   / dankornas  
🌍LinkedIn:   / daniel-kornas  
🕵Facebook:   / dankornas  
📱Instagram:   / dankornas  
🧵 Threads: https://www.threads.net/@dankornas

-------------------------

📚 AI Books 📚
Introduction to Generative AI 👉 https://shorturl.at/3dSQz
Build a Large Language Model (From Scratch) 👉 https://shorturl.at/EFv4j

*I use affiliate links on the products that I recommend. I may earn a purchase commission or a referral bonus from the usage of these links.


Auf dieser Seite können Sie das Online-Video Python Programming Fundamentals | Python Functions mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Dan Kornas 14 Oktober 2024 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 573 Mal angesehen und es wurde von 15 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!