Branching in Python: if - elif -else

Published: 04 May 2022
on channel: 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


Watch video Branching in Python: if - elif -else online without registration, duration hours minute second in high quality. This video was added by user YUNIKARN 04 May 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 68 once and liked it 3 people.