Created
August 11, 2018 13:39
-
-
Save Fhernd/d9c68be94b647fca3710ca0588485476 to your computer and use it in GitHub Desktop.
Metadatos en una función. OrtizOL.
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
def sumar(numero1: int, numero2: int) -> int: | |
""" | |
Suma dos números enteros. | |
:param numero1: Primer sumando (int) | |
:param numero2: Segundo sumando (int) | |
:return: Suma de dos números (int) | |
""" | |
return numero1 + numero2 | |
help(sumar) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment