Introduction to Python
In this chapter, we will learn about Python commands and functionalities while applying them to problems. As we delve into the first chapter of Part 2, Applying Python and Computational Thinking, we will use more complex Python programming. In this chapter, we will focus more on language, while the remaining chapters will focus on application.
In this chapter, we will cover the following topics:
- Introducing Python
- Working with dictionaries and lists
- Using variables and functions
- Learning about files, data, and iteration
- Using object-oriented programming (OOP)
- Problem 1—Creating a book library
- Problem 2—Organizing information
- Problem 3—Loops and math
As we dig deeper into the Python programming language, remember that some of the content has been covered in previous chapters as we looked at the computational thinking process, such as the use of dictionaries, in previous chapters. This chapter will...