'''Oromo''' ( Oromo: ''Afaan Oromoo'') is an Afroasiatic language belonging to the ''Cushitic branch''. It is native to the Ethiopian state of Oromia and spoken predominantly by the Oromo people and neighbouring ethnic groups in the Horn of Africa ;[[HornofAfrica|https://www.ethnologue.com/browse/families]]. '''~+Afaan Oromoo+~''' {{{#!python # Python 3.0/3.1 # English """ E.g., let us create a class called student, which attributes such as I.D. number, name, number of items and cost. """ class Student: id = "test id" name = "name" numberofitems = 0 cost = 0.00 def __init__(self,id, name, age): self.id = id self.name=name self.age = age def getName(self): return self.name def printStudent(self): print self.id, "$$$$$ ", self.name def total(self,items, cost): self.numberofitems = items self.cost = cost return self.numberofitems * self.cost student = Student("123","sisaz",23) student.printStudent() # Afaan Oromoo """ Akka fakkeenyatti, kutaa Barataa jedhu haa fudhannu. Kutaa kana keessatti, lakkoofsi galmee, maqaan, baay'inni fi kaffaltiin hammatamanii argamu.""" class Barataa: id = "Lakk. galmee" maqaa = "Maqaa" baayina = 0 kaffaltii = 0.00 def __init__(self,id, maqaa, umurii): self.id = id self.maqaa=maqaa self.umurii = umurii def getName(self): return self.maqaa def printBarataa(self): print self.id, "$$$$$ ", self.maqaa def Walii_gala(self, baayina, kaffaltii): self.numberofitems = baayina self.kaffaltii = kaffaltii return self.baayina * self.kaffaltii barataa = Barataa("123","Boona",23) student.printBarataa() }}} ---- CategoryLanguage