What is an Algorithm?
To write a logical step-by-step method to solve the identified problem is called
algorithm, in other words, an algorithm is a procedure for solving problems. In order
to solve a mathematical or computer problem, this is the first step of the procedure.
An algorithm includes calculations, reasoning and data processing. Algorithms can be
presented by natural languages, pseudocode and flowcharts, etc.
What is a flowchart?
A flowchart is the graphical or pictorial representation of an algorithm with the help of
different symbols, shapes and arrows in order to demonstrate a process or a program.
Several standard graphics are applied in a flowchart:
Convert Temperature from Fahrenheit (℉) to Celsius (℃)
ALGORITHM
Step 1: Read temperature in Fahrenheit
Step 2: Calculate temperature with formula C=5/9*(F-32)
Step 3: Print C
What is a program?
A computer program is a collection of instructions that perform a specific task when
executed by a computer. It is usually written by a computer program in a
programming language.
Applications of Python
Python Comments A comment is text that doesn't affect the outcome of a code; it is
just a piece of text to let someone know what you have done in a program or what is
being done in a block of code.
Kindly note: Kindly go through data types, lists, Tuples, dictionaries and
operators from the text book for more clarity.