Ratings & reviews

3.84 ratings

Wesley E.

169 days ago

Kelly S.

171 days ago

Raymond F.

172 days ago

25%
25%
50%
0%
0%
info

Complete all chapters to get certificate

0%

Annotations

chevron

Let's consider annotations. Annotations are used in our code to make it more understandable for other developers. It's time to learn how we can help other developers to understand our code.

What are Annotations?

Variable Annotation

Return Annotation

Docstring

Challenge: Annotate the Function

help()

Function Arguments in Details

chevron

There are different functions: some for a specific task, some flexible. Here we will learn how to implement different functions with the help of an in-depth study of arguments and their types.

Positional Arguments

Optional Arguments

Arbitrary Arguments (*args)

Arbitrary Keyword Arguments (**kwargs)

Unpacking

Challenge: Snake and Sum

Error Handling

chevron

Caught an error? This is normal. There is no programmer who prevented errors in the program. Here we will learn how to handle errors, and we will also learn how to use them for good.

What are Errors?

Examples

Raising

Handling

Detailed except

Challenge: Safely Auth

Virtual Environment

chevron

Virtual Environment (venv) is an isolated development environment that helps projects to isolate their interpreter and modules. It's essential for every developer to learn how to use venv, so let's get started.

What is Virtual Environment?

Creating a Virtual Environment

Project Requirements

Virtual Environment in IDE: PyCharm

Virtual Environment in IDE: VS Code