You are on page 1of 3

Reeerding has started. This meetng is beng recorded.

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

File Edit Format Run Options Window Help


class Person:
#"This is a person class
age = 10

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

print (Person.age) wit

print ( Person.greet) itulni


print (PéIson.doc) iit!
i iuliit
init

witl

tilil

newPer = P e r s o n () dutl iulitiil

li

print (newPer.age)
wwi

uili ntli tintil i


iiitnmill
ilt
i i in

modules are loosley couppled and highly cohessive


i ilitlM i l

wft
i
itilit

it
uiitiii lii

iit

i l i

ulitrilt
. i l

iuit

llitte

/i

O 55:08

You might also like