
In this course, you will be introduced to the dictionary data structure and user-defined functions. You will learn about local and global variables, passing optional and keyword parameters, named functions, and lambda expressions. You will also learn about Python’s sorted function and how to control the sort order by passing another function as input. In your final project, you will read simulated social media data from a file, calculate sentiment scores, and write.csv files.
Python Functions, Files, and Dictionaries is listed in the GenAI.Works courses directory, from Michigan University.