Page 79 - TP_Modular_V2.1_Class6
P. 79
Interpreted Language: The code you create in Python is executed line by line which makes
it easy to correct any errors. On execution, a Python code is immediately converted into an
intermediate form. This is known as byte code. The byte code makes it easier to execute or
run the code in future.
Dynamically Typed Language: Python is a dynamically typed language. This means that
you do not need to declare the type of variables in advance. For example, if you write a = 15,
you do not need to specify the variable a as an integer or string.
INSTALLING PYTHON
Follow these steps to download and install the Python software:
Step 1 Enter the URL https://www.python.org/downloads/ in the address bar.
Step 2 Click on the Download Python 3.12.4 button. The Python Setup will be downloaded.
Downloading Python
Step 3 Click on the Open file option. The Python Setup window appears.
Step 4 Select the Add Python.exe to PATH checkbox.
Step 5 Click on Install Now button.
The User Account Control dialog box appears. Click on Yes button. Python will be installed on
your computer. Click on the Close button when Setup was successful is shown.
PROGRAMMING IN PYTHON
Python has two basic programming modes— Script Mode and Interactive Mode.
Introduction to Programming 77

