If Else Try Except
In computer programming, selection structures run sections of code based on logical conditions. In this chapter you will learn about the selections structures if, else, and else if. The end of the chapter introduces another selection structure, the try / except block.
By the end of this chapter you will be able to:
Use if, else if, and else selection structures
Explain the difference between syntax errors and exception errors
Use try-except statements
Construct flowcharts to describe the flow of a Python program