Uploaded November 2020 | Updated September 2026, 1 hour ago
Python Fundamentals Course (DataCamp) ๐๐ผ lukeb.co/PythonBasicsDataCamp
Data Analyst Track w/ Python (DataCamp) ๐๐ผ lukeb.co/PythonAnalystDataCamp
(My recommended courses that I took to learn Python!)
This video provides an overview of if statements and how they are used by data scientist / data analysts. Additionally, we cover operators used within if statements such as: Comparison (==, !=), Logical (and, or, not), Identity (is), and Membership (in). At the end we build a simple chatbot with what we have learned, to provide feedback on characters from 'The Office'.
Also, if curious, here is more on operator precedence ๐๐ผ docs.python.org/3/reference/expressions.html#operator-precedence
00:00 Introduction
00:46 If Statement - Basic if statement
02:19 If Statement - else condition
02:59 If Statement - elif condition
04:16 Comparison Operators - ==, !=
06:13 Logical Operators - and, or, not
08:15 Membership Operators - in
09:11 Identity Operators - is
11:05 Build a chatbot with if statements
19:14 Conclusion
Playlist (Course) Material ๐๐ผ github.com/lukebarousse/Python_Intro
Basics of Python playlist ๐๐ผ youtube.com/playlist?list=PL_CkpxkuPiT8zTx9XO9jFf4PQ0iwBWfXB
Setting up Python on your computer playlist ๐๐ผ youtube.com/playlist?list=PL_CkpxkuPiT9udgCeqZpS4HKF6uIzra3r
Recommended Certificates/Courses (Affiliate Links)
==================================
DataCamp:
Python ๐๐ผ lukeb.co/PythonBasicsDataCamp
Power BI ๐๐ผ lukeb.co/PowerBIDataCamp
Tableau ๐๐ผ lukeb.co/TableauDataCamp
R ๐๐ผ lukeb.co/RDataCamp
Data Analyst w/ Python ๐๐ผ lukeb.co/PythonAnalystDataCamp
DataCamp Subscription (Monthly $25USD) ๐๐ผ lukeb.co/DataCampSub
Coursera:
Google Data Analytics Certificate (BEGINNERS START HERE) ๐๐ผ lukeb.co/GoogleCert
Python for Everybody ๐๐ผ lukeb.co/PythonForEverybody
SQL ๐๐ผ lukeb.co/PostgresSQLUofM
Coursera Plus Subscription (Monthly $59USD) ๐๐ผ lukeb.co/CourseraMonthly
Coursera Plus Subscription (Annual $399USD) ๐๐ผ lukeb.co/CourseraYearly
My Tech for Data Science
(Includes Amazon Affiliate Links)
==================================
๐ป Dell New XPS 13 (PC of choice) ๐๐ผ geni.us/DellNewXPS13
๐ป Dell New XPS 15 ๐๐ผ geni.us/DellNewXPS15
๐จ๐ผโ๐ป M1 Macbook Air 8GB (Mac of choice) ๐๐ผ geni.us/M1macAir8GB
๐จ๐ผโ๐ป M1 Macbook Pro 8GB ๐๐ผ geni.us/M1macPro8GB
๐ Must-have Mac dock ๐๐ผ geni.us/CalDigitTS3
๐ฅ M1 Multiple monitor adapter ๐๐ผ geni.us/DisplayLinkAdapter
โจ๏ธ Mac Keyboard ๐๐ผ geni.us/MacMagicKeyboard
๐ฑ Mac Mouse ๐๐ผ geni.us/MacMagicMouse
๐พ Small (1TB) External HD ๐๐ผ geni.us/WDelements1TB
๐พ Large (14TB) External HD ๐๐ผ geni.us/WDelements14TB
๐ข Standing Desk ๐๐ผ geni.us/StandingDeskFezibo
๐ Data Science Must Read ๐๐ผ geni.us/StorytellingWithData
๐ธ Camera of Choice ๐๐ผ geni.us/SonyA6600body
*For computers, I recommend checking the manufacturer's website (i.e., dell.com) for deals/rebates*
Social Media / Contact Me
======================
๐๐ผโโ๏ธWebsite: lukebarousse.com
๐ Instagram: instagram.com/lukebarousse
โฐ TikTok: tiktok.com/@lukebarousse
๐ Facebook: facebook.com/datavizbyluke
๐ฅ Business Inquiries: luke@lukebarousse.com
As an Amazon Associate, I earn a small commission from qualifying purchases on the Amazon links above. It costs you nothing but helps me in keeping the content coming.
#pythontutorial #datavisualization #python
Python Fundamentals Course (DataCamp) ๐๐ผ lukeb.co/PythonBasicsDataCamp
Data Analyst Track w/ Python (DataCamp) ๐๐ผ lukeb.co/PythonAnalystDataCamp
(My recommended courses that I took to learn Python!)
This video provides an overview of if statements and how they are used by data scientist / data analysts. Additionally, we cover operators used within if statements such as: Comparison (==, !=), Logical (and, or, not), Identity (is), and Membership (in). At the end we build a simple chatbot with what we have learned, to provide feedback on characters from 'The Office'.
Also, if curious, here is more on operator precedence ๐๐ผ docs.python.org/3/reference/expressions.html#operator-precedence
00:00 Introduction
00:46 If Statement - Basic if statement
02:19 If Statement - else condition
02:59 If Statement - elif condition
04:16 Comparison Operators - ==, !=
06:13 Logical Operators - and, or, not
08:15 Membership Operators - in
09:11 Identity Operators - is
11:05 Build a chatbot with if statements
19:14 Conclusion
Playlist (Course) Material ๐๐ผ github.com/lukebarousse/Python_Intro
Basics of Python playlist ๐๐ผ youtube.com/playlist?list=PL_CkpxkuPiT8zTx9XO9jFf4PQ0iwBWfXB
Setting up Python on your computer playlist ๐๐ผ youtube.com/playlist?list=PL_CkpxkuPiT9udgCeqZpS4HKF6uIzra3r
Recommended Certificates/Courses (Affiliate Links)
==================================
DataCamp:
Python ๐๐ผ lukeb.co/PythonBasicsDataCamp
Power BI ๐๐ผ lukeb.co/PowerBIDataCamp
Tableau ๐๐ผ lukeb.co/TableauDataCamp
R ๐๐ผ lukeb.co/RDataCamp
Data Analyst w/ Python ๐๐ผ lukeb.co/PythonAnalystDataCamp
DataCamp Subscription (Monthly $25USD) ๐๐ผ lukeb.co/DataCampSub
Coursera:
Google Data Analytics Certificate (BEGINNERS START HERE) ๐๐ผ lukeb.co/GoogleCert
Python for Everybody ๐๐ผ lukeb.co/PythonForEverybody
SQL ๐๐ผ lukeb.co/PostgresSQLUofM
Coursera Plus Subscription (Monthly $59USD) ๐๐ผ lukeb.co/CourseraMonthly
Coursera Plus Subscription (Annual $399USD) ๐๐ผ lukeb.co/CourseraYearly
My Tech for Data Science
(Includes Amazon Affiliate Links)
==================================
๐ป Dell New XPS 13 (PC of choice) ๐๐ผ geni.us/DellNewXPS13
๐ป Dell New XPS 15 ๐๐ผ geni.us/DellNewXPS15
๐จ๐ผโ๐ป M1 Macbook Air 8GB (Mac of choice) ๐๐ผ geni.us/M1macAir8GB
๐จ๐ผโ๐ป M1 Macbook Pro 8GB ๐๐ผ geni.us/M1macPro8GB
๐ Must-have Mac dock ๐๐ผ geni.us/CalDigitTS3
๐ฅ M1 Multiple monitor adapter ๐๐ผ geni.us/DisplayLinkAdapter
โจ๏ธ Mac Keyboard ๐๐ผ geni.us/MacMagicKeyboard
๐ฑ Mac Mouse ๐๐ผ geni.us/MacMagicMouse
๐พ Small (1TB) External HD ๐๐ผ geni.us/WDelements1TB
๐พ Large (14TB) External HD ๐๐ผ geni.us/WDelements14TB
๐ข Standing Desk ๐๐ผ geni.us/StandingDeskFezibo
๐ Data Science Must Read ๐๐ผ geni.us/StorytellingWithData
๐ธ Camera of Choice ๐๐ผ geni.us/SonyA6600body
*For computers, I recommend checking the manufacturer's website (i.e., dell.com) for deals/rebates*
Social Media / Contact Me
======================
๐๐ผโโ๏ธWebsite: lukebarousse.com
๐ Instagram: instagram.com/lukebarousse
โฐ TikTok: tiktok.com/@lukebarousse
๐ Facebook: facebook.com/datavizbyluke
๐ฅ Business Inquiries: luke@lukebarousse.com
As an Amazon Associate, I earn a small commission from qualifying purchases on the Amazon links above. It costs you nothing but helps me in keeping the content coming.
#pythontutorial #datavisualization #python










