Fhernd icon

funcion-parametros-predeterminados.py

Fhernd | PRO | 08/17/18 12:47:50 PM UTC | 0 ⭐ | 12124 👁️ | Never ⏰ | []
Python |

230 B

|

None

|

0 👍

/

0 👎

from datetime import datetime
 
def enviar_email(destinatario, mensaje, remitente='[email protected]', titulo=datetime.now()):
    print(destinatario, mensaje, remitente, titulo)
 
enviar_email('[email protected]', 'Mensaje de prueba')

Comments

  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎