Skip to content

If Else Try Except

Introduction

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