Professional Documents
Culture Documents
Adobe Scan 04-Aug-2021
Adobe Scan 04-Aug-2021
By Jolnng,
XILExt Notepad
em yww t
NCOS
python, identifiers sensitive?
1) In are case
a) yes
bno
c) machine dependent
d) non of the above
ansaa
2) invalid?
a) my_day-2
b)2nd day
c) Day _two
d) 2
ans a, b
3) Nota keyword?
a) eva1
b) assert
c) nonlocal
d) pass
4) which one is invalid?
a) abc 1,00,00e
b) abc-1000 2000 3000
c) a, b, c-100, 2000, 300
d) a-b-c-1,00, 00e
hs
classprog1.py C\Users\HPVAppDatalLocalNProgramsPython Pyt
hbjchant heae fpbirthiLin fee
def greet ()
print ('Hello'
print (Person.age)
print (Person.greet)
print (Person. doc
newPer =
Person ()
print (newper.age)|
def kidney () : i
print("Hello' .
i
,ww
witl
tilil
li
print (newPer.age)
wwi
wft
i
itilit
it
uiitiii lii
iit
i l i
ulitrilt
. i l
iuit
llitte
/i
O 55:08