Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprende help() | Annotations
Mastering Python: Annotations, Errors and Environment

bookhelp()

While IDEs can provide hints for functions, these hints may not be available in environments such as Jupyter Notebook or console interpreter. To get information about a function or object, you can use the help() function:

123456
def add(a: int, b: int) -> int: """This function receives two integer arguments and returns its sum.""" return a + b help(add)
copy

¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 1. Capítulo 6

Pregunte a AI

expand

Pregunte a AI

ChatGPT

Pregunte lo que quiera o pruebe una de las preguntas sugeridas para comenzar nuestra charla

Awesome!

Completion rate improved to 4.35

bookhelp()

Desliza para mostrar el menú

While IDEs can provide hints for functions, these hints may not be available in environments such as Jupyter Notebook or console interpreter. To get information about a function or object, you can use the help() function:

123456
def add(a: int, b: int) -> int: """This function receives two integer arguments and returns its sum.""" return a + b help(add)
copy

¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 1. Capítulo 6
some-alt