I need help!


#1


i don't know what's wrong with my code:

def costoHotel(dias):
    return 140*dias

factura = costoHotel(5)

def masInteresMensual(saldo):
    return saldo * (1 + (0.15 / 12) ) 

def hacerPago(pago,saldo):
    saldo -= pago
    nuevoSaldo = masInteresMensual(saldo)
    return "Aún debes: " + str(nuevoSaldo)

when i run send a message:

1.   Something went wrong :( 
Click Close to try again or refresh the page.

and 

2. Traceback (most recent call last):
  File "python/cli_runner.py", line 152, in <module>

help plase


#2

Refresh your page, then browser if that doesn't work. :slightly_smiling:


#3

not works buddy :(, i don't know what can i do, but i need to continue with course...but thank you..


#4

Quita la ú y pon una u normal, como que el acento ahi hace de las suyas


#5

prueba con este codigo:

def costoHotel(dias):
return 140*dias

factura = costoHotel(5)

def masInteresMensual(saldo):
return saldo * (1 + (0.15 / 12) )

def hacerPago(pago,saldo):
saldo -= pago
nuevoSaldo = masInteresMensual(saldo)
return "Aun debes: "+ str(nuevoSaldo)
print hacerPago(100,factura)