Comparison and logical operators

We know how to use built-in functions as well as define our own functions. We also know how to take input from the user and assign it to a variable for storage (and reuse) or pass it as further input to a function. We also know how to output something on the screen for the user. But we can only write sequential programs, where the computer fetches and executes one line of our code after another, from the first executable line to the last, in a strictly sequential order.

Get hands-on with 1400+ tech skills courses.