本课程介绍字典数据结构和用户定义函数。您将学习局部变量和全局变量、可选参数传递和关键字参数传递、命名函数和 lambda 表达式。您还将学习 Python 的排序功能,以及如何通过将另一个函数作为输入来控制排序的顺序。在期末项目中,您将从文件中读入模拟的社交媒体数据,计算情感评分,并写出 .csv 文件。如果您已经学习了 "Python 基础 "课程,并希望进一步了解 Python 语言的基础知识,那么本课程非常适合您。这两门课程共同面向 Python 编程的新手、需要复习 Python 基础知识的人,或者已经接触过一些 Python 编程但希望获得更深入的阐述和用于描述和推理程序的词汇的人。 本课程是 "Python 基础 "课程(Python 3 编程专业的第 1 门课程)的后续课程,也是该专业 5 门课程中的第 2 门。

了解顶级公司的员工如何掌握热门技能

积累特定领域的专业知识
- 向行业专家学习新概念
- 获得对主题或工具的基础理解
- 通过实践项目培养工作相关技能
- 获得可共享的职业证书

该课程共有5个模块
获得职业证书
将此证书添加到您的 LinkedIn 个人资料、简历或履历中。在社交媒体和绩效考核中分享。
位教师


从 软件开发 浏览更多内容
人们为什么选择 Coursera 来帮助自己实现职业发展

Felipe M.

Jennifer J.

Larry W.

Chaitanya A.
学生评论
- 5 stars
87.15%
- 4 stars
11.15%
- 3 stars
1.19%
- 2 stars
0.16%
- 1 star
0.33%
显示 3/5441 个
已于 Aug 8, 2020审阅
This course (and the specialization as well) is a bit more challenging than 'Python for Everybody'. I enjoyed a lot. Runestone is an amazing feature that really helped navigate through the course.
已于 May 12, 2020审阅
Loved the course curriculum and lot of exercises to practice although it was tough during the project making . Any one should try this course to gain insights to Files , Dictionary .
已于 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.
¹ 本课程的部分作业采用 AI 评分。对于这些作业,将根据 Coursera 隐私声明使用您的数据。








