Skip to content

Instantly share code, notes, and snippets.

@Fhernd
Created August 11, 2018 13:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Fhernd/d9c68be94b647fca3710ca0588485476 to your computer and use it in GitHub Desktop.
Save Fhernd/d9c68be94b647fca3710ca0588485476 to your computer and use it in GitHub Desktop.
Metadatos en una función. OrtizOL.
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