Skip to content

Commit

Permalink
agregando varios issues por refactorizar
Browse files Browse the repository at this point in the history
  • Loading branch information
EdinsonRequena committed Feb 12, 2021
1 parent ad4eb03 commit 2de5e60
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion algoritmos-y-poo-python/modulo_I/clase02-decomposicion.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def __init__(self, marca, tipo ,modelo, color):
def encender(self, estado=False):

if estado: self._temperatura += 20; print(f'La pc esta encencida, su temperatura es {self._temperatura}!')
else: print(f'La pc esta apagada, su temperatura es {self._temperatura}')
else: print(f'La pc esta apagada, su temperatura es {self._temperatura}') # TODO #14

def sistema(self, sistema_operativo):

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def frenar(self): self.frena = True
def estado(self):

print(f"""Marca: {self.marca} \n Modelo: {self.modelo} \n En marcha:
{self.enmarcha} \nAcelera: {self.acelera},\n Frena: {self.frena} \n""")
{self.enmarcha} \nAcelera: {self.acelera},\n Frena: {self.frena} \n""") # TODO #13


class Moto(Vehiculo): pass
Expand Down

0 comments on commit 2de5e60

Please sign in to comment.