-
Book Overview & Buying
-
Table Of Contents
Applied Computational Thinking with Python - Second Edition
By :
In this chapter, we discussed inductive and deductive reasoning, logical reasoning, logical operators, and Boolean logic. As we discussed, most of the algorithm designs fall under deductive reasoning. We learned how to use statements, such as if, if-else, and if-elif-else, and nested statements to write programs that test conditions.
After going through this chapter, you are now better equipped to write algorithms using logical reasoning. You also have the understanding to apply inductive and deductive reasoning when designing and planning algorithms and use Boolean logic and operators in your algorithms.
In the next chapter, we will be diving into logical and other types of errors you may encounter when writing algorithms. You will learn how to test your algorithms for errors by identifying possible mistakes such as indentation errors, conditional errors, and formula errors. You will also learn about different types of errors, console messages to help debug them, and...