-
Book Overview & Buying
-
Table Of Contents
Applied Computational Thinking with Python - Second Edition
By :
In this chapter, we learned about some of the challenges in debugging code, including syntax errors that may not be identified by Python and other errors associated with global and local variables.
When working with syntax, punctuation, and indentation, some errors will be flagged by Python, while other errors may be harder to find. Always run your code often, identify possible issues, make sure you check the mathematical aspects of the code, and verify that the output values match your expected values. We’ll make mistakes in our algorithms, so we need to ensure we are not unintentionally creating larger issues by not debugging as frequently as we should.
In the next part of this book, we’ll look at data. Python is an incredibly powerful programming language, allowing us to create algorithms with the use of some libraries that show us visual representations of data, analyze it, and even help us create machine learning models for artificial intelligence....