INTRODUCTION TOKENS BAREBONES OF PYTHON VARIABLES …

for more updates visit:

?

?

?

?

?

?

?

?

?

?

INTRODUCTION

TOKENS

BAREBONES OF PYTHON

VARIABLES AND ASSIGNMENT

INPUT & OUTPUT

DATA TYPES

MUTABLE AND IMMUTABLE TYPESS

EXPRESSION

FLOW OF CONTROL

JUMP STATEMENT

VINOD KUMAR VERMA, PGT(CS), KV OEF KANPUR &

SACHIN BHARDWAJ, PGT(CS), KV NO.1 TEZPUR

for more updates visit:

?Python was created by Guido Van Rossum

?The language was released in February I991

?Python got its name from a BBC comedy series from seventies¡°Monty Python?s Flying Circus¡±

?Python can be used to follow both Procedural approach and

Object Oriented approach of programming

?It is free to use

?Python is based on or influenced with two programming

languages:

?ABC language [replacement of BASIC]

?Modula-3

VINOD KUMAR VERMA, PGT(CS), KV OEF KANPUR &

SACHIN BHARDWAJ, PGT(CS), KV NO.1 TEZPUR

for more updates visit:

?Easy to use Object oriented language

?Expressive language

?Interpreted Language

?Its completeness

?Cross-platform Language

?Fee and Open source

?Variety of Usage / Applications

VINOD KUMAR VERMA, PGT(CS), KV OEF KANPUR &

SACHIN BHARDWAJ, PGT(CS), KV NO.1 TEZPUR

for more updates visit:

?Not the fastest language

?Lesser Libraries than C, Java, Perl

?Not Strong on Type-binding

?Not Easily convertible

VINOD KUMAR VERMA, PGT(CS), KV OEF KANPUR &

SACHIN BHARDWAJ, PGT(CS), KV NO.1 TEZPUR

for more updates visit:

In a passage of text, individual words and punctuation

marks are called tokens or lexical units or lexical

elements. The smallest individual unit in a program is

known as Tokens. Python has following tokens:

Literals

?

?

?

?

?

# Simple Python Program

Keywords

for i in range(1,10):

Identifiers(Name)

if i %2 != 0:

Punctuators

Literals

print(i)

Operators

Operators Keywords

Punctuators

Identifier

VINOD KUMAR VERMA, PGT(CS), KV OEF KANPUR &

SACHIN BHARDWAJ, PGT(CS), KV NO.1 TEZPUR

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download