Coding In Python

What is python ?

A major programming language used for developing air base apps is python.

Working in python

To write quotes and one Python program Python integrative must be installed in the computer i d l e (g u i) is the standard Python development to composed the codes.

Interactive Mode

Interactive mod allows us to type only single line command as the Python promote.

Script Mode

In the script mode we can type the set of chords and multiple lines in a file and then use the interpreter to execute the whole program.

Character Set

Character set and Python consists of valid character such as alphabets digits a special characters that are recognised by the library of python language

Alphabets = A,B,…..Y,Z or a,b,…..y,z

Digits= 0,1,2,3,4,5,6,7,8,9

Special characters= ~!@#%^€*()_-+=|\{}:;”’<>,.?/,«,»

White Spaces = Blank space, Horizontal tab,New line,etc.

Tokens

The smallest individual unit in a program is termed as a ‘Tolen’. tokens are also known as lexical elements or lexical units.

Keywords

Keywords are the deserve words with specific meaning in a programming language. These words are use while writing a program to get desired output.The meaning and actions of such words are already define to the programming language interpreter. Keywords cannot be used as variable names because by doing so we are trying to assign a new me to the keyboard which is not allowed in the language.