Python Assert Statement (Quick tutorial) #shorts

preview_player
Показать описание
This quick CodeFatherTech tutorial shows how to use the assert statement in your Python programs.

You will see that assert raises an AssertionError if the condition verified it's false and you will also see an example of assert inside a Python function.

The following CodeFatherTech article covers Python assert in more depth:

And if you are just getting started with Python have a look at this FREE Python Starter Checklist:

Develop your Python knowledge!
Claudio

#Shorts #CodeFatherTech
Рекомендации по теме