Python Functions Tutorial - def, return, scope, keyword arguments | Beginner #11

3views
00
8:40
T
Taught by Celeste AI - AI Coding Coach
View on YouTube
Description
Learn Python functions in this beginner-friendly tutorial! ๐Ÿ”ง In this lesson, you will learn: โœ… Defining functions with def โœ… Calling functions and passing arguments โœ… Return values โœ… Docstrings and __doc__ โœ… Default parameter values โœ… Keyword arguments โœ… Multiple return values (tuples) โœ… Variable scope: local vs global โœ… The global keyword โœ… Mini Project: Grade Calculator with multiple functions ๐Ÿ• Timestamps: 0:00 - Introduction 0:22 - Function Basics Explained 0:46 - Function Basics Demo 2:49 - Parameters and Scope Explained 3:13 - Parameters and Scope Demo 5:27 - Mini Project Explained 5:51 - Grade Calculator Demo 7:57 - Recap 8:32 - End ๐Ÿ’ป Source Code: https://github.com/GoCelesteAI/python_functions ๐Ÿ”— Previous: Lesson 10 - Dictionaries ๐Ÿ”— Next: Lesson 12 - More on Functions #Python #PythonTutorial #LearnPython #Programming #Functions #PythonFunctions Tags Python, Python tutorial, Python for beginners, learn Python, Python functions, def, return, parameters, arguments, default values, keyword arguments, scope, global, local, docstring, grade calculator, CelesteAI

Tags

PythonPython tutorialPython for beginnerslearn PythonPython functionsdefreturnparametersargumentsdefault valueskeyword argumentsscopegloballocaldocstring
Back to tutorials

Duration

8:40

Published

February 8, 2026

Added to Codegiz

March 15, 2026

๐Ÿ“– Read the articleOpen in YouTube