For Daily Free Study Material Join wiredfaculty Whatsapp Group | Download Android App | Ncert Book Download
Sponsor Area
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)