tanvirraj
12/16/2016 - 6:36 AM

OOP


class Employe():
	def __init__(self, name,age,num, skill):
		self.name = name
		self.age = age 
		self.num = num 
		self.skill = skill 
	def bio(self):
		print("name: ", self.name)
		return self.name + ' ' + str(self.age)

	def betion(self):
		return self.num + 2000 



tanvir = Employe("Tanvir", 23, 4000)
meer = Employe("MEER SAjib" , 35, 5000)

print(tanvir.name)
print(tanvir.bio())
print(tanvir.betion())
print(meer.name)