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.

Python Functions, Files, and Dictionaries

Python Functions, Files, and Dictionaries
This course is part of Python 3 Programming Specialization


Instructors: Paul Resnick
Access provided by KazNARU
152,211 already enrolled
5,438 reviews
What you'll learn
Explore the dictionary data structure and user-defined functions in Python.
Understand concepts like local and global variables, parameter-passing techniques, named functions, and lambda expressions.
Apply Python's sorted function and control sorting order with custom functions.
Create a final project involving social media data analysis and CSV file manipulation.
Skills you'll gain
Tools you'll learn
Details to know

Add to your LinkedIn profile
See how employees at top companies are mastering in-demand skills

Build your subject-matter expertise
- 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 5 modules in this course
Earn a career certificate
Add this credential to your LinkedIn profile, resume, or CV. Share it on social media and in your performance review.
Instructors


Offered by
Why people choose Coursera for their career

Felipe M.

Jennifer J.

Larry W.

Chaitanya A.
Learner reviews
- 5 stars
87.16%
- 4 stars
11.16%
- 3 stars
1.19%
- 2 stars
0.16%
- 1 star
0.31%
Showing 3 of 5438
Reviewed on Nov 6, 2019
The course met all my expectations and went beyond. The instructors' explanations were easy to understand and the innovative method of having a digital textbook was undoubtedly convenient.
Reviewed on Jun 29, 2022
Course Material and exercises provide excellent understanding and practice. I experienced some difficulty in the final project but that can be cleared once you consult the discussion forums.
Reviewed on Jan 28, 2020
Great follow-on from the basics with essential information. Well constructed series, well presented lessons, with great practice questions. I feel a big step closer to writing useful python code.
Explore more from Computer Science
¹ Some assignments in this course are AI-graded. For these assignments, your data will be used in accordance with Coursera's Privacy Notice.





