Search⌘ K

Introduction to Decision Control Instructions

Explore how to control program flow using decision control instructions in Python. Understand how to use if, else, and elif blocks effectively with proper indentation to make decisions within your code.

We'll cover the following...

So far, statements in all of our programs have been executed sequentially. The sequence of executing instructions in a program can be altered using:

  • Decision control instruction
  • Repetition control instruction

What is a decision control instruction?

A decision control instruction ...