Learn more complex ways of handling data, including files, lists, and dictionaries for building complex programs.
Build on your existing knowledge of conditionals, loops, and functions by studying more about complex Python data structures, including strings, lists, dictionaries, and file input and output. Organized into five chapters, this course starts by covering the basics of data structures, then moves on to these four common data structures in Python: Strings let you perform far more complex reasoning with text. Lists let you process long lists of data, and even lists of lists of data for more complex reasoning. Dictionaries let you more clearly code for complex types of data, and even simulate some basic elements of object-oriented programming. File input and output brings your programs to life, allowing you to persist data across executions of the same program. By the end of this course, you’ll be able to write even more complex programs in Python that process and persist complex data structures. For example, you’ll be able to write an ongoing gradebook application that tracks and updates your average over time, a program to calculate the net force based on several force magnitudes and directions, or a program that can turn a string like this into a StRiNg LiKe tHiS. Structurally, the course is comprised of several parts. Instruction is delivered via a series of short (2-3 minute) videos. In between those videos, you’ll complete both multiple choice questions and coding problems to demonstrate your knowledge of the material that was just covered.