2. Python Basics#
Python fundamentals set the stage for everything that follows in this book. In this chapter sequence you will learn:
Python core syntax
control flow,
built-in data structures (lists, tuples, and dictionaries),
conditionals and iteration, and finish by
defining functions.
Together these lessons give you the building blocks to write readable programs and prepare for data-focused work in later chapters.
Here blow is a Python syntax cheatsheet for beginners. Browse over it and see how many of the concepts/details you already know.
Fig. 2.1 Python cheat sheet (365 Data Science).#