Tokens in Python Programming

tokens
1.identifier

a) {A-Z,a-z,0-9,_}
b) first char {a-z,A-Z,_}
c) no keyword

int $a # not valid
a=1

int class[5] #

int for() #
{

}

2) Keyword
if for class

3) operators
a)arithmatic: +,-,*,/,%
b)logical: and, or
a=1
b=2
c=3
a<b and a<c
c1=> a<b =>T
c2=>a<c => T

4) Data types

Basic
int, float , double, str, chr
Derived
array, list,tupl,sets,dictionary

data structure

5) constants
1, 1.5,'a',"dggh jkk"

 

a=2
b=3
a+b