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

Kursinhalt

Mastering Python: Annotations, Errors and Environment

Mastering Python: Annotations, Errors and Environment

1. Annotations
2. Function Arguments in Details
3. Error Handling
4. Virtual Environment

book
help()

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

War alles klar?

Wie können wir es verbessern?

Danke für Ihr Feedback!

Abschnitt 1. Kapitel 6
We're sorry to hear that something went wrong. What happened?
some-alt