Python Introduction

0
24

You must have heart the term IPO- input ,process, output, most (in fact, nearly all ) daily life and computer action are governed by IPO cycle. certain kind of processing  and an output.

Do you know that  programs make IPO cycle happen ?

Anywhere and everywhere, where you want to transform some kind of input to certain output, you have some kind of  input to certain output, you have to a program. A program is a set of instructions that govern the processing . In other words, a program forms the base for processing.

You will be learning about python’s basic like characters set, tokens, expressions, statements, simple, input  and output etc. so, are we all ready to take our first sincere step towards python programming ? And, here we go :

 

PYTHON CHARACTER SET-

Character set is a set of valid characters that a language can recognize. A character  represent any letter, digit or any other symbol. Python supports Unicode encoding standard. That means,

python has the following character set:

Letters                     A-Z, a-z

Digits                       0-9

Special symbols        space + – */**\( ) [ ] { } \\=!===<,>.’ “ ‘” , ; : % !                                                       $ # @ _ (underscore)

Whitespaces           blank space, tabs, carriage return,  newline, formfeed.

Other characters     python can process all ASCII and Unicode characte                                                           Part of data or literals.

Every component of a python program is created using the character set, be iy statements or expressions or other component of a program.

 TOKOENS-

In a passage of text, individual words and punctuation marks are called tokens or lexical units or lexical elements. The smallest individual unit a program is known as a token or a lexical unit. Consider the following figure that tells what a token means.      TokenToken

Python has following tokens ;

1-keywords      2- Identifiers  (names)    3-Literals

4-Operators      5-punctuatorts.

Notes- the smallest individual unit in a program is known as a token  or a lexical unit.

 

 

:

Python Introduction introduction of python python an introduction to programming python introduction course

LEAVE A REPLY

Please enter your comment!
Please enter your name here