Introduction

Introduction

This lesson combines topics that seem unrelated but are actually connected. It’s all about using Python to do what it was designed for: translating your ideas into code that not only works but is readable, easy to maintain, and even beautiful.

It’ll continue from the previous lesson, covering lesser-known topics such as the Set data structure and powerful Python constructs for processing data: comprehensions, generators, and the zip function. From there, it’ll move on to expand your knowledge of functions and look at Python’s approach to object-oriented programming. Finally, it’ll close with a discussion of what makes code Pythonic and how to write code that follows what the Python community considers best practices.

By the end of this lesson, you’ll learn to:

  • Identify data structures such as sets and detail how to use comprehensions, generators, and the zip() function.
  • Define and use classes effectively in Python.
  • Apply Python best practices.
See forum comments
Download course materials from Github
Previous: Quiz: Introduction to Python & JupyterLab Next: Sets