About this Course

608,264 recent views

Learner Career Outcomes

25%

started a new career after completing these courses

20%

got a tangible career benefit from this course
Shareable Certificate
Earn a Certificate upon completion
100% online
Start instantly and learn at your own schedule.
Flexible deadlines
Reset deadlines in accordance to your schedule.
Beginner Level
Approx. 31 hours to complete
English
Subtitles: English, Vietnamese, Korean

Learner Career Outcomes

25%

started a new career after completing these courses

20%

got a tangible career benefit from this course
Shareable Certificate
Earn a Certificate upon completion
100% online
Start instantly and learn at your own schedule.
Flexible deadlines
Reset deadlines in accordance to your schedule.
Beginner Level
Approx. 31 hours to complete
English
Subtitles: English, Vietnamese, Korean

Offered by

Placeholder

University of Michigan

Syllabus - What you will learn from this course

Content RatingThumbs Up97%(10,407 ratings)Info
Week
1

Week 1

6 hours to complete

Files and CSV Output

6 hours to complete
14 videos (Total 88 min), 14 readings, 3 quizzes
14 videos
Welcome to Python Functions, Files, and Dictionaries2m
How to Use the Interactive Textbook14m
Introduction: Files1m
Reading a File9m
Finding a File in Your File System6m
Writing to a File7m
Using With to Open Files5m
Conclusion: Files1m
Introduction: .csv Format3m
Reading a .csv File8m
Writing Data to a .csv File10m
Tips on File Naming2m
Conclusion: .csv Format1m
14 readings
Syllabus10m
Help Us Learn More About You!10m
Introduction: Working with Data Files10m
Reading a File10m
Alternative File Reading Methods10m
Iterating Over Lines in a File10m
Finding a File in your File System10m
Writing to a File10m
Using With to Open Files10m
Recipe for Reading and Processing a File10m
CSV Format10m
Reading a .csv File10m
Writing Data to a .csv File10m
Tips on Handling Files10m
1 practice exercise
Optional - What Did You Use to Practice This Week?4m
Week
2

Week 2

6 hours to complete

Dictionaries and Dictionary Accumulation

6 hours to complete
10 videos (Total 77 min), 9 readings, 4 quizzes
10 videos
Demonstration: Dictionary Basics4m
Dictionary Operations7m
Dictionary Methods12m
Demonstration: Dictionary Methods3m
Aliasing and Copying with Dictionaries3m
Dictionary Accumulation13m
Demonstration: Dictionary Accumulation5m
Accumulating Results From a Dictionary12m
Demonstration: Accumulating Results From a Dictionary7m
9 readings
Introduction: Dictionary Learning Goals10m
Introduction: Dictionaries10m
Dictionary Operations10m
Dictionary Methods10m
Aliasing and Copying10m
Introduction: Accumulating Multiple Results in a Dictionary10m
Accumulating Results From a Dictionary10m
Accumulating the Best Key10m
When to Use a Dictionary10m
1 practice exercise
Optional - What Did You Use to Practice This Week?4m
Week
3

Week 3

8 hours to complete

Functions and Tuples

8 hours to complete
16 videos (Total 81 min), 19 readings, 4 quizzes
16 videos
Defining Functions5m
Positional Parameter Passing6m
Returning Values12m
Way of the Programmer: Decoding a Function4m
A Function that Accumulates8m
Conclusion: Functions59s
Introduction: Variable Scoping and Side Effects48s
Local and Global Variables9m
Function Composition10m
Mutable Objects and Side Effects5m
Conclusion: Variable Scoping and Side Effects1m
Introduction: Tuple Packing and Unpacking40s
Tuple Packing3m
Tuple Assignment with Unpacking8m
Conclusion: Tuple Packing and Unpacking39s
19 readings
Introduction to Functions10m
Function Definition10m
Function Invocation10m
Function Parameters10m
Returning a Value from a Function10m
Decoding a Function10m
A Function that Accumulates10m
Local Variables10m
Global Variables10m
Function Composition10m
Flow of Execution Summary10m
Print vs. Return10m
Passing Mutable Objects10m
Side Effects10m
Introduction10m
Tuple Packing10m
Tuples as Return Values10m
Tuple Assignment with Unpacking10m
Unpacking Into Iterator Variables10m
1 practice exercise
Optional - What Did You Use to Practice This Week?4m
Week
4

Week 4

6 hours to complete

More Iteration and Advanced Functions

6 hours to complete
7 videos (Total 49 min), 10 readings, 4 quizzes
7 videos
The Listener Loop7m
Break and Continue5m
Way of the Programmer: Infinite Loops4m
Optional Parameters4m
Keyword Parameters7m
Anonymous Functions with Lambda Expressions5m
10 readings
Introduction10m
The While Statement10m
The Listener Loop10m
Randomly Walking Turtles10m
Break and Continue10m
Infinite Loops10m
Introduction: Optional Parameters10m
Keyword Parameters10m
Anonymous Function with Lambda Expressions10m
Programming With Style10m
1 practice exercise
Optional - What Did You Use to Practice This Week?4m

Reviews

TOP REVIEWS FROM PYTHON FUNCTIONS, FILES, AND DICTIONARIES

View all reviews

About the Python 3 Programming Specialization

This specialization teaches the fundamentals of programming in Python 3. We will begin at the beginning, with variables, conditionals, and loops, and get to some intermediate material like keyword parameters, list comprehensions, lambda expressions, and class inheritance. You will have lots of opportunities to practice. You will also learn ways to reason about program execution, so that it is no longer mysterious and you are able to debug programs when they don’t work. By the end of the specialization, you’ll be writing programs that query Internet APIs for data and extract useful information from them. And you’ll be able to learn to use new modules and APIs on your own by reading the documentation. That will give you a great launch toward being an independent Python programmer. This specialization is a good next step for you if you have completed Python for Everybody but want a more in-depth treatment of Python fundamentals and more practice, so that you can proceed with confidence to specializations like Applied Data Science with Python. But it is also appropriate as a first set of courses in Python if you are already familiar with some other programming language, or if you are up for the challenge of diving in head-first....
Python 3 Programming

Frequently Asked Questions

More questions? Visit the Learner Help Center.