ABSTRACT

In the previous chapter, it was discussed that to completely describe an algorithm, four design structures are used: sequence, selection, repetition, and input/output. This chapter explains the selection program structure using pseudo-code, flowcharts, and the corresponding statements in the Python programming language for implementing computational models.