IF ELSE ELIF statement in Python | IF ELSE Statement in Python | Python Tutorial for Beginners #3

Published: 31 January 2021
on channel: techTFQ
6,550
161

This video covers how to write IF ELSE ELIF statement in Python. IF ELSE Statement in Python are part of the Flow Control Statements. This is the third video in the series of Python Tutorial for Beginners. But before writing IF statement, we learn what is a Boolean data type, what are comparison operators and what are boolean operators or Logical operators. These concepts are required to be understood before starting with IF ELSE statement.


IF statement is part of the Flow Control statements in python which also includes loop statements such as while loop and for loop.
Flow control statement or control flow statement in python decides which instruction to execute based on which condition hence it’s a very essential part of python programming.

The condition in IF statement either needs to have an expression which always evaluate to a boolean value or the condition in IF statement needs to have a boolean value.
Understanding of Python Boolean is essential to understand IF statement. We also cover boolean operator which is also referred to as logical operator. Finally we also look into comparison operator which is required to form an expression which can be used in IF statement.

IF statement in python also includes ELIF (which stands for ELSE IF) and ELSE section which is explained in the video by writing sample program which uses these IF, ELSE and ELIF statements to perform certain actions.

All these concepts are not just explained theoretically but also by working out some examples using the IDLE IDE which comes along with your Python installation and also using Visual Studio code IDE to write and execute python program.

The purpose of this Python tutorial series for beginners is to explain python programming in the most simplest manner by providing simple examples and working out interesting and meaningful python programs which should be a better way to learn programming especially for the beginners.

All the programs and content of this video will be posted in my website https://techtfq.com/
So please make sure to check that out as well.

Other video’s in this tutorial series:

What are DATA TYPE, OPERATORS and EXPRESSION in Python | Python Tutorial for Absolute Beginners #1
   • What is DATA TYPE, OPERATORS and EXPRESSIO...  

What is a VARIABLE in Python | Python Tutorial for Absolute Beginners #2
   • What is a VARIABLE in Python | Python Vari...  

Please like, subscribe and leave a comment if you found the video to be useful. Also please make sure to click on the notification bell to be notified of my latest video’s.

🔴 WATCH MORE VIDEOS HERE 👇

✅ SQL Tutorial - Basic concepts:
   • SQL Tutorial - Basic concepts  

✅ SQL Tutorial - Intermediate concepts:
   • SQL Tutorial - Intermediate concepts  

✅ SQL Tutorial - Advance concepts:
   • SQL Tutorial - Advance concepts  

✅ Practice Solving Basic SQL Queries:
   • Practice Solving BASIC SQL Queries  

✅ Practice Solving Intermediate SQL Queries:
   • Practice Solving INTERMEDIATE SQL Queries  

✅ Practice Solving Complex SQL Queries:
   • Practice Solving COMPLEX SQL Queries  

✅ Data Analytics Career guidance:
   • Data Analytics career and more  

✅ SQL Course, SQL Training Platform Recommendations:
   • SQL Course / Training  

✅ Python Tutorial:
   • Python Tutorial  

✅ Git and GitHub Tutorial:
   • Git and GitHub  

✅ Data Analytics Projects:
   • Data Analytics Projects  

THANK YOU,
Thoufiq


On this page of the site you can watch the video online IF ELSE ELIF statement in Python | IF ELSE Statement in Python | Python Tutorial for Beginners #3 with a duration of hours minute second in good quality, which was uploaded by the user techTFQ 31 January 2021, share the link with friends and acquaintances, this video has already been watched 6,550 times on youtube and it was liked by 161 viewers. Enjoy your viewing!