Microsoft

Python Programming Fundamentals

Microsoft

Python Programming Fundamentals

This course is part of multiple programs.

 Microsoft

Instructor: Microsoft

Access provided by EDUCEN

113,327 already enrolled

Gain insight into a topic and learn the fundamentals.

601 reviews

Beginner level

Recommended experience

Flexible schedule
2 weeks at 10 hours a week
Learn at your own pace
93%
Most learners liked this course
Gain insight into a topic and learn the fundamentals.

601 reviews

Beginner level

Recommended experience

Flexible schedule
2 weeks at 10 hours a week
Learn at your own pace
93%
Most learners liked this course

What you'll learn

  • Build foundational Python programs using core syntax, control flow, lists, and essential programming concepts.

  • Create reusable Python code using functions, scope, classes, modules, and common data structures.

  • Apply error handling and debugging techniques to identify and resolve issues in Python programs

  • Test Python applications, use version control practices, and apply your skills in a hands-on capstone project.

Details to know

Shareable certificate

Add to your LinkedIn profile

Assessments

35 assignments

Taught in English

See how employees at top companies are mastering in-demand skills

 logos of Petrobras, TATA, Danone, Capgemini, P&G and L'Oreal

Build your subject-matter expertise

This course is available as part of
When you enroll in this course, you'll also be asked to select a specific program.
  • Learn new concepts from industry experts
  • Gain a foundational understanding of a subject or tool
  • Develop job-relevant skills with hands-on projects
  • Earn a shareable career certificate

There are 6 modules in this course

You will begin by discovering why Python stands out as one of the most accessible and powerful programming languages available today — and how it is applied across real-world fields including web development, data science, automation, and machine learning. Before writing any code, you will build the conceptual foundation and vocabulary you need to make sense of what follows. You will explore what Python actually is as a programming language, how it differs from the tools and environments used to run it, and where to find help when you encounter unfamiliar terms. A course glossary is available from this point onward as a living reference you can return to at any stage. From there, you will get hands-on with Python's core toolkit — learning what Jupyter Notebook is, why it is the environment of choice for this course, and how to install and set up your environment step by step. The module closes with Python syntax and your first programs: you will work with variables, data types, basic arithmetic operations, expressions, and output, building an understanding of how Python code is structured and interpreted. By the end of this module, you will have written a Hello World program and be able to create simple programs that use variables and basic operations to produce a result.

What's included

4 videos9 readings5 assignments

You will build a working understanding of how Python makes decisions, repeats actions, and organizes data. You will start with conditional statements — learning to use if, else, and elif to control what your program does based on specific conditions. From there, you will move into loops, using for and while to handle repetitive tasks and iterate through data efficiently. Once you are comfortable with control flow, lists are introduced as your first data structure: you will learn to create, modify, slice, and apply common list methods to manage ordered sequences of information. The module closes with a capstone lesson on how Python actually executes code — you will trace execution order line by line and learn to recognize and avoid common pitfalls. By the end of this module, you will be writing Python code that uses conditionals, loops, and lists together to solve practical programming problems.

What's included

4 videos6 readings5 assignments

You will develop the ability to write Python code that is reusable, organized, and built to scale. You will start with functions as the foundational building block — learning the syntax, writing functions with and without parameters, working with return values, using Python's built-in functions, and applying the DRY principle to eliminate unnecessary repetition in your code. You will then explore variable scope, understanding how variables behave differently inside and outside functions and what local and global scope mean in practice. With functions and scope firmly in place, the focus shifts to object-oriented programming — you will learn to define classes as blueprints for objects, add attributes and methods, and create instances of your own custom classes. The module closes by broadening your toolkit: you will work with built-in and external modules, learn how to import them, manage packages using pip, and create your own module from scratch. By the end of this module, you will be applying functions, classes, and modules together to write structured, maintainable Python programs.

What's included

8 videos8 readings8 assignments1 ungraded lab

You will build a solid, practical understanding of Python's core data structures and how to work with them. Starting with a reference cheat sheet, you will explore lists, dictionaries, tuples, and sets — learning the unique properties of each, how their ordering and mutability differ, and when to reach for one over another. You will go deeper into dictionaries, working through real-world applications and more advanced operations, before moving on to sets and how Python distinguishes between ordered and unordered collections. The module then shifts to algorithms — you will implement sorting and searching on lists, compare the efficiency of linear and binary search, and understand how algorithmic choice affects the speed of data retrieval. The module closes with a decision framework that brings everything together, giving you a structured way to evaluate which data structure best fits a given problem. By the end of this module, you will be able to choose, implement, and justify the right data structure for practical programming challenges.

What's included

7 videos3 readings7 assignments

You will develop the skills to read, handle, and resolve errors in Python programs with confidence. You will start by understanding Python exceptions — what they are, how to interpret them, and which ones you are most likely to encounter. From there, you will learn to handle exceptions gracefully using try-except blocks, working through real-world examples that show you how to prevent program crashes and manage errors cleanly. The focus then shifts to debugging: you will work with print debugging and interactive debuggers, stepping through code, inspecting variables, and pinpointing exactly where things go wrong. A toolkit of strategies used by experienced developers rounds out the debugging lessons before the module brings exception handling and debugging together in a final practical lesson. By the end of this module, you will be constructing try-except blocks, applying debugging techniques, and approaching code errors with a structured, methodical mindset.

What's included

8 videos4 readings6 assignments

You will learn two practices that are fundamental to writing code you can trust and maintain over time. You will start with unit testing using the pytest framework — understanding why testing matters for code quality, writing and running your own tests, working with fixtures, and keeping your test files well-organised. The module then moves to version control with Git and GitHub: you will set up Git, learn the relationship between Git and GitHub, track changes, and work through the core commands that let you manage your codebase with confidence. In the final lesson, you will bring your Python skills together in a capstone programming activity, applying what you have built across the course to solve a practical problem. A role play closes the module, giving you the opportunity to explain your project and development workflow out loud. By the end of this module, you will be writing and running unit tests with pytest and using Git to track and manage your code.

What's included

6 videos7 readings4 assignments1 programming assignment

Earn a career certificate

Add this credential to your LinkedIn profile, resume, or CV. Share it on social media and in your performance review.

Instructor

Instructor ratings
(177 ratings)
 Microsoft
420 Courses2,815,206 learners

Offered by

Microsoft

Why people choose Coursera for their career

Felipe M.

Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."

Jennifer J.

Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."

Larry W.

Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."

Chaitanya A.

"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."

Learner reviews

  • 5 stars

    69.71%

  • 4 stars

    19.80%

  • 3 stars

    3.66%

  • 2 stars

    1.66%

  • 1 star

    5.15%

Showing 3 of 601

R

Reviewed on Jun 1, 2026

OD

Reviewed on May 16, 2025

LB

Reviewed on Jun 13, 2025

Explore more from Computer Science