© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2021
A. YudinBasic Python for Data Management, Finance, and Marketinghttps://doi.org/10.1007/978-1-4842-7189-6_2

2. Writing Your Own Python Scripts

Art Yudin1  
(1)
South Amboy, NJ, USA
 

In the previous chapter, we have covered all the basics of Python. Here, we will take a look at essential control flow statements and will learn how to structure a program. We will learn how to use for and while loops and compose custom functions. Also, we will get familiar with a decisive Python data structure – dictionary.

As we move through the chapter, we will solve a couple of interesting and beneficial challenges. The exercises we are about to take on will demonstrate how to ...

Get Basic Python for Data Management, Finance, and Marketing: Advance Your Career by Learning the Most Powerful Analytical Tool now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.