Abstracting with Functions

Coursera Courses ↗ · Coursera

Open Course on Coursera

Free to audit · Opens on Coursera

Abstracting with Functions

Coursera · Beginner ·📐 ML Fundamentals ·5h ago
This course features Coursera Coach! A smarter way to learn with interactive, real-time conversations that help you test your knowledge, challenge assumptions, and deepen your understanding as you progress through the course. Understanding how to structure programs using functions is an essential programming skill. This course helps you build a strong foundation in function design and abstraction, enabling you to organize logic into reusable components. You will explore how functions simplify complex programs, improve readability, and support scalable software development. The course begins with an overview of functions and their role in structuring code. You will explore what functions are, why they are important, and how they help programmers create predictable and reusable program structures. Early lessons introduce the syntax and basic principles of creating functions in Python. As the course progresses, you will work through increasingly advanced function concepts. You will learn how to define functions without arguments, add positional parameters, and use keyword arguments to improve clarity and flexibility. The course also explores functions with multiple parameters and demonstrates how different argument types influence function behavior. Finally, the course brings together all function concepts by exploring mixed arguments and more complex use cases. By combining positional and keyword arguments, you will gain a deeper understanding of how functions are structured and used in real programming scenarios. This course is ideal for beginner programmers, students learning Python, and professionals who want to strengthen their understanding of reusable programming patterns. A basic familiarity with Python syntax is helpful but not required. By the end of the course, you will be able to design reusable Python functions, structure programs using parameters and arguments, and apply abstraction techniques to create clean and maintainable code.
Watch on Coursera ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Related AI Lessons

ML Compilers Aren’t All the Same — Here’s Why
ML compilers like PyTorch, TensorRT, and CoreML have different architectures and design choices, impacting their performance and compatibility across hardware and workloads.
Medium · Programming
ML Compilers Aren’t All the Same — Here’s Why
Learn why ML compilers differ in architecture and design, and how these differences impact model deployment and performance
Medium · Deep Learning
ML Compilers Aren’t All the Same — Here’s Why
Learn why ML compilers differ in architecture and design, and how these differences impact model deployment and performance
Medium · LLM
How Machines Draw the Line: A Beginner’s Guide to Regression
Learn the basics of regression in machine learning and how it's used to make predictions, with examples and explanations for beginners
Medium · Machine Learning
Up next
Aléatoire : une introduction aux probabilités - Partie 1
Coursera
Watch →