Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
10 lines (8 sloc) 219 Bytes
class Estudiante(object):
def __init__(self, nombre, edad):
self.nombre = nombre
self.edad = edad
def hola(self):
return 'Hola soy: %s' % self.nombre
e = Estudiante("Miguel",22)
print e.hola()
Jump to Line
Something went wrong with that request. Please try again.