Advertisement
Fhernd

metadatos-funcion.py

Aug 11th, 2018
11,564
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.26 KB | None | 0 0
  1. def sumar(numero1: int, numero2: int) -> int:
  2.     """
  3.    Suma dos números enteros.
  4.    :param numero1: Primer sumando (int)
  5.    :param numero2: Segundo sumando (int)
  6.    :return: Suma de dos números (int)
  7.    """
  8.     return numero1 + numero2
  9.  
  10.  
  11. help(sumar)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement