Chevron Left
Back to Python Functions, Files, and Dictionaries

Python Functions, Files, and Dictionaries, University of Michigan

96 ratings
14 reviews

About this Course

This course introduces the dictionary data structure and user-defined functions. You’ll learn about local and global variables, optional and keyword parameter-passing, named functions and lambda expressions. You’ll also learn about Python’s sorted function and how to control the order in which it sorts by passing in another function as an input. For your final project, you’ll read in simulated social media data from a file, compute sentiment scores, and write out .csv files. It covers chapters 10-16 of the textbook “Fundamentals of Python Programming,” which is the accompanying text (optional and free) for this course. The course is well-suited for you if you have already taken the "Python Basics" course and want to gain further fundamental knowledge of the Python language. Together, both courses are geared towards newcomers to Python programming, those who need a refresher on Python basics, or those who may have had some exposure to Python programming but want a more in-depth exposition and vocabulary for describing and reasoning about programs. This is a follow-up to the "Python Basics" course (course 1 of the Python 3 Programming Specialization), and it is the second of five courses in the specialization....

Top reviews


Jan 05, 2019

This is the course to do because it makes use of spaced repetition learning - scientifically proven to be the best for recollection.


Feb 18, 2019

Learned alot in this course. Helpful and well structured.

Filter by:

14 Reviews

By Abdulmajeed Abdulrahman Isa

Feb 18, 2019

Learned alot in this course. Helpful and well structured.

By Paul Lopez

Feb 18, 2019

Great Course

By Ravi Srikant Veturi

Feb 16, 2019

Nice course. Don't know why it isn't more popular.

By Chris Iddon

Feb 15, 2019

This was a very informative and enjoyable course

By Shubhnay Jain

Feb 06, 2019

Learned a lot. Engaging content.

By Lukas Flucht

Feb 06, 2019

very nice course the Project in the end was harder than the exams before, nice chalange.

By Juan David Cabrera

Feb 04, 2019

Very good course

By Igor Fomin

Jan 27, 2019

This course helps to understand how to use context manager to prevent you from forget to close files that are opened for write, nicely explains how you can iterate through files directly. It helps to understand why using a local variable inside a function is a good idea. Finally it helps to understand how to treat dictionaries and tuples. Overall, that's creates a great foundation for the subsequent course in the specialization. Very enjoyed.

By Khalid Somer

Jan 24, 2019

Great Course!

By Jing Chen

Jan 24, 2019

easy to follow