What is a Program?

What is a Program?

A program is a set of instructions given to a computer telling it what actions to perform. This could be any program: a program to solve your metric ton of homework for your math class, a program to develop an app for your daily needs, or even a program to develop an artificial robot.

There are two functions used in every program:

Input: Getting data from the user, typically through a keyboard (retrieving data from files or over the network is possible too);

Output: This is the data displayed on the screen.

Simply put, the order of a computer program looks like this:

Input → Process → Output

We write the code for this process in various programming languages, and one of them is, you guessed it, Python!