Тёмный

Chapter 6 | If & If Else Conditional Statements -Python Tutorial for Beginners (With Notes) 

TelcoGuru
Подписаться 2,4 тыс.
Просмотров 2,7 тыс.
50% 1

#PythonConditionalStatements #WhatAreConditionalStatementsInPython #PythonConditionalStatementsExercises #PythonTutorial #Python #PythonForBeginners #PythonTraining #PythonTutorialForBeginners #LearnPythonProgramming #Simplilearn
What is Python? Python is a high-level object-oriented programming language developed by Guido van Rossum in 1989 and was first released in 1991. Python is often called a batteries included language due to its comprehensive standard library. A fun fact about Python is that The name Python was actually taken from the popular BBC comedy show of that time, Monty Python's Flying Circus. Python is widely used these days from data analytics, machine learning, and web development.
Following are the conditional statement in Python:
1. If statement
2. If-Else statement
3. Elif statement
4. Nested If statement
5. Nested If-Else statement
What are Conditional Statements in Python? Conditional Statements in Python perform specific operations and take actions depending on whether a specific boolean constraint evaluates to true or false. Conditional statements are handled by blocks of IF statements in Python. Python provides different types of conditional statements that you can use to make decisions. We have the simple If statement, If Else statement, Elif statement, Nested If statement, and the Nested If Else statement.
In this video, you will learn what is conditional statements in Python and why to use conditional statements in Python.
The demo structure of the statement is also discussed with an example. You will also learn to use multiple statements in this.
Mr. Gaurav will discuss it all with the help of practical examples which will help you understand the concept clearly. We have a complete playlist on Python programming. You can watch more videos from there to learn it all in detail.
If-statements are super important in implementing some decision-making logic into your code!!
The logic works something like this: If you love Taylor Swift's new album, print('I love Taylor Swift') !!!!
In this video, I show you the flowchart that displays the logic in if-statements, and I'll show you how they work using real examples executed in Python! Furthermore, I go over why if statements work with conditional statements that might not just be booleans (true/false). If statements also with with numbers, strings, lists, and so on.
The If-Else statement is designed to build on the if statement's logic. Here, we ask if something is the case, and, if it is we do something. Then we say otherwise, which is contingent on the previous if statement, do something else. If the previous if statement is true, then the else will not run. If the if statement is false, then the else statement will run.
In this python programming tutorial video you are shown how to use the if-else statements together.

Опубликовано:

 

20 янв 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 16   
@Rashmi12445
@Rashmi12445 6 месяцев назад
Gaurav Sir Dont ever sale your channel to unacdemy. Your channel might big brand without you Knowing. You have saved many engineering students through your videos. hats off to you Gaurav Sir .
@5GGuru-tc4io
@5GGuru-tc4io 6 месяцев назад
Thanks a lot . Your comment mean a lot to me.
@user-qj6dt3np8v
@user-qj6dt3np8v 6 месяцев назад
Regardless how complete 5G Guru courses are, they've always been super motivating for me. This level of enthusiasm is very helpful when getting started with learning a new IT skill in particular!
@5GGuru-tc4io
@5GGuru-tc4io 6 месяцев назад
Thanks a lot . Your comment mean a lot to me.
@Sandi_B366
@Sandi_B366 6 месяцев назад
5G Guru you have grown so much! Your teaching style just so fun and easy to follow. Thank you so much for the refreshers....one of the best so far! watch a lot your network videos in the past and subscribed. Now catching up on Python will continue to support your channel as it's so short and precise.
@5GGuru-tc4io
@5GGuru-tc4io 6 месяцев назад
Thanks a lot . Your comment mean a lot to me.
@Brie_Latahan
@Brie_Latahan 6 месяцев назад
hey Gaurav , i want to thank you for this python learning keep going i am so motivated to learn python from your videos thank you so much for your help !!, I so appreciate this!! I can sit down and "study" whenever I can and that is super nice with my crazy schedule. Thank you so much!! Keep em coming!! just started learning python with u and I’m having so much fun. you're really a great teacher.
@5GGuru-tc4io
@5GGuru-tc4io 6 месяцев назад
Thanks a lot . Your comment mean a lot to me.
@myersdianna6884
@myersdianna6884 6 месяцев назад
Thank you so much "Gaurav Sir " for every video you upload for us I seriously learned python and understood it the right way because of your awesome videos. I was so bad at coding at first. Now every time I open on the python tutorials I learn more and more. I apricate everything you do bro !! LOVE FROM Atlanta ,USA..
@5GGuru-tc4io
@5GGuru-tc4io 6 месяцев назад
Thanks a lot . Your comment mean a lot to me.
@Jenny45694
@Jenny45694 6 месяцев назад
Great lecture sir if it is possible then please upload these lectures per day so that we remain consistent. Thank u for your effort sir. You are a great teacher, thank you very much.
@5GGuru-tc4io
@5GGuru-tc4io 6 месяцев назад
Thanks a lot . Your comment mean a lot to me.
@NoahJones-hl8hu
@NoahJones-hl8hu 6 месяцев назад
The way of teaching is nice ,this video really helpful because sir point out the every tiny things in python, that's helpful while you are trying to develop your base. Thank you sir for your love and support towards us. You are such a great teacher You explain very well Thank you so much
@5GGuru-tc4io
@5GGuru-tc4io 6 месяцев назад
Thanks a lot . Your comment mean a lot to me.
@vijaygoyal5121
@vijaygoyal5121 6 месяцев назад
Thank you Gaurav for making my learning easy ,please do continue with these python lectures. When is the next going to be uploaded?
@5GGuru-tc4io
@5GGuru-tc4io 6 месяцев назад
Thanks a lot . Your comment mean a lot to me.
Далее
Python 101: Learn the 5 Must-Know Concepts
20:00
Просмотров 1,1 млн
If __name__ == "__main__" for Python Developers
8:47
Просмотров 395 тыс.
Мелл хочешь сына от Дилары
00:50
Просмотров 197 тыс.
Zig Bytes 0x03: If Statements & Expressions
5:25
Просмотров 1,3 тыс.
Python Decorators in 15 Minutes
15:14
Просмотров 436 тыс.
Pydantic Tutorial • Solving Python's Biggest Problem
11:07
Is the C programming language still worth learning?
9:27
The Greenwich Meridian is in the wrong place
25:07
Просмотров 751 тыс.
Мелл хочешь сына от Дилары
00:50
Просмотров 197 тыс.