class puk(str):
	def z(self):
		return len(self)

a = puk('privet')
print(a, len(a), a.z())