Good Evening
21:03 pm

Sponsor Area

Sponsor Area

Question is

Find and write the output of the following python code:

class Worker :
	def_init_(self,id,name): #constructor
		self.ID=id
		self.NAME=name
	def Change (self):
		self.ID=self.ID+10
		self.NAME='Harish'
	def Display(self,ROW):
print self.ID,self.NAME,ROW
w=Worker(55,'Fardeen')
w.Display(l)
w.Change( )
w.Display(2)
print w.ID+len(w.NAME)

Mock Test Series

Sponsor Area

Sponsor Area

NCERT Book Store

NCERT Sample Papers

Entrance Exams Preparation