Professional Documents
Culture Documents
Aditi PWP
Aditi PWP
Dato:
-manKS
iqhment-2
C'hana cte set s a bunch
o identfyin elements n the
Programmind
Et-
Langua
Alpnabets, DNgLs spetal unmbols. wwite space etc
a Indivlual elementAs Mat dte
idenKhied by
calledtokens/lexical uwntt.
programminb longuaa.
ample a, b,
a b and a me idenkfiRAS and a band a h2 wketn&
uing singleqvoE on
double quote muut md in
tings
tings cat d
ant o inset
Dato.
Dame in apr0grom
code.
name qram iS called
24 Ainothe
betuween uppe
28python is caIe sensitve tp detect dittoerence
Case and LOwA Case
0n the LHS
Lxpressiong
2 L Vaue -
e RHS
Eprepions bM
30 R valu -
Lalled vaniable
abels
3 Name od
is_determined
he vaiable
Dunamic hyplng
meang he upe D
B2
Hunäme
ding
-maukg
charatde S is a bunth oidenkynlements in ytha
EXALpnabeis,_digils speialumbol white palls t c
2
pes tokens 1 Keqwonds
2 Jdonhe1s
3 iterals
Operatons
Spuntuatoois.
21phlnt 0 ts a
H e v a l u e l o I A H h t S c h e e n n
o p i n p u t O
neral tormat
, end = n
print olosectssejp
pnnt Pytho isfun")
Date
5mank
lbuerea3 ,
An
1 tdnthien_can be combination
APPuppecase
ett eAs, wndelscon diqit s 0-)
he ir charact.er mut be 0 tte
uwohdi
2
-BacKwond indeina
-4 3 - 2 -
O
2 3 4
foruwaud nduin
o acCe the rst chatacten on tnesbdns
sCo]
willge output H2
Hh a t dharadeA
50 a c t e
s [lents) - 1
hind the length o
Hhe sinb
whenelenS) i wed to
mut
3 )inale ne muutple lnesby addlna
acro
MulHlin Spread
conhuLL
0ML Cn
oack slagn