Free AI-powered learning to build in-demand skills
35% Off Finance Skills That Get You Hired - Code CFI35
Overview
Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn to write functions in Python in this comprehensive tutorial. Explore key concepts including namespaces, execution flow, variable scope, and function basics. Discover how to send variables to functions, work with return values, and handle multiple returns. Gain practical insights through scope and flow examples, and apply your knowledge to a real-world mortgage repayment scenario. Master the fundamentals of Python function writing to enhance your programming skills.
Syllabus
Intro
Name Space, Flow Execution, Variable Scope
Basic Function
Sending Variables to a Function
Function Returns
Multiple Return Values
Scope and Flow Examples
Mortgage Repayment Example
Final Thoughts
Taught by
Eli the Computer Guy