If Else Statements in Python | Python for Beginners

preview_player
Показать описание

In this series we will be walking through everything you need to know to get started in Python! In this video we learn about If-Else Statements in Python.

Favorite Python Courses:
____________________________________________

SUBSCRIBE!
Do you want to become a Data Analyst? That's what this channel is all about! My goal is to help you learn everything you need in order to start your career or even switch your career into Data Analytics. Be sure to subscribe to not miss out on any content!
____________________________________________

RESOURCES:

Coursera Courses:

Udemy Courses:

*Please note I may earn a small commission for any purchase through these links - Thanks for supporting the channel!*
____________________________________________

SUPPORT MY CHANNEL - PATREON/MERCH

____________________________________________

Websites:
📱Instagram: @Alex_The_Analyst
____________________________________________

0:00 Intro
0:48 Syntax of If Statement
1:46 If/Else Statement
2:46 If/Elif/Else Statement
4:30 If/Else Statement on One Line
5:10 Nested If/Else Statement
6:13 Outro

*All opinions or statements in this video are my own and do not reflect the opinion of the company I work for or have ever worked for*
Рекомендации по теме
Комментарии
Автор

Short, clear concise, easy to understand for every person who wants to get into programming quickly. I wish more vids like this were on the internet. So many python tuts series on YT - this is the one to watch! Honestly, no remarks, here! Well done!!!! Excellent!

Seftehandle
Автор

I just started learning python and I’ve been enjoying these videos.

traetrae
Автор

This video really helped be understand this Python function better. I was a little confused about if/elif/else statement before. Thank you for clarifying this concept for me! As always, THANK YOU ALEX!

sj
Автор

Wow. You're better than advanced Google analytics videos. To the point and without pleasantries

newbestofthis
Автор

My class just covered these yesterday! Great timing Alex. May I suggest a loops video next?

vincenttermini
Автор

Thanks Alex, u really make it easier to understand everything about phyton

tobysodig
Автор

Moving ahead
left one more video and finish your beautiful course

essamanbar
Автор

No Sales Pitch at the end? LOL. Thank you! Just getting into Learning Python, this was quite helpful!

HGarach
Автор

Hi, Alex. Thanks for sharing your knowledge.
is that all we need in python?

or do we need to learn about "Class" and etc etc?

praveencoder
Автор

Awesome Sir. Your teachings are really good.

danielsamuel
Автор

Thanks a lot for your effort,
I got a question, why do we use the elif statement I mean we can use the if statement all the time like if we wanted to make a multiple if statements and it's gonna run if it's true, hope you get me,
wish you the best

ahmedabdelhamid
Автор

Hi sorry for digressing a bit

I am currently analysing an employees layoff dataset available on kaggle. It has 1574 records and 9 columns, one of the columns name "Total_laid_off" (how many employees were laid off from the organisation, datatype: Int), it has 442 records with missing values. what should I do in this case to treat the missing values? should I replace them with median value or shall I drop missing values from the dataset?
I have a similar question for another column name "percentage of employees laid off" (percentage of employees fired out of the total workforce). in this case, also shall I replace 552 missing values with the median percentage value?
What could be the best course of action?
I personally thought I should replace the missing values with median values because dropping so many rows would result in a good amount of loss of information.

shivsharma
Автор

I’m 22 and I’m in Houston. I am a chemical lab tech and a realtor, but I start classes next week to become a data analyst so I can do that And focus on real estate. I am taking the data analytics essentials program offered by The university of Texas Austin Mcombs business school program. ( 3 months)

Elip
Автор

How can I use these statements with a Pandas dataframe?

CaribouDataScience
Автор

Alex pls add stata software videos to the playlist

vivanranjan
Автор

Hello Alex, I am a new subscriber here, I have watch two of your videos on how to change career, I’m interested to be a data analyst, I’m a graduate of another field Adult Education, please I would like you to help me in this my journey of data analyst, what I need to learn from the start, I really do not have any clue of it, please if you don’t mind to tell me step to step of things I need to do
Thanks.

Loedairy