This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# En este ejercicio sumamente sencillo usamos el lenguaje Python(utilizando las Herencias), este ejercicio, | |
es para los que van inicializando en el mundo de la prohgramacion. | |
<-----------------------------------------------------------------------------------------------------------> | |
class vehiculo(): | |
def __init__(self, color, ruedas, puertas): | |
self.color= "rojo" | |
self.ruedas= 4 | |
self.puertas= 2 |