Branching in Python: if - elif -else

Опубликовано: 04 Май 2022
на канале: YUNIKARN
68
3

【Online Courses】
⚡Getting Started with Stata: (24 lectures + 4 assignments = 5.5 hours content): available on Udemy: https://www.udemy.com/course/getting-...

⚡Applied Time Series using Stata (29 lectures + 4 assignments = 6.5 hours content): available on Udemy: https://www.udemy.com/course/applied-...

This video introduces if - elif - else statements in Python, which are used in branching statements. We start with if statements and check the behaviour of our code after adding additional if statements and an else statement. Finally, we play around with else-if (elif) statement. If you are not confused by the end of this video, you are a real Pythonian!

The code is available on GitHub (https://github.com/GerhardKling/Pytho....

Chapters
0:00 Branching
0:23 If Statement
1:37 Else Statement
2:28 Combining If Statements
3:37 Elif Statement

The course
This video belongs to the course "Python for DataScience", which introduces Python and its use in the context of data analysis, machine learning, and simulations.

The channel
YUNIKARN focuses on publishing educational content in applied statistics, mathematics, and data science. In these fields, programming skills have become essential. Hence, we cover various programming languages including Python, Stata, and C++ to tackle problems and for fun.

Stay in touch
Please leave comments or follow us on Twitter (  / gerhardklings  . DMs are open.

Hashtags
#datascience #python #pythonprogramming


Смотрите видео Branching in Python: if - elif -else онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь YUNIKARN 04 Май 2022, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 68 раз и оно понравилось 3 людям.