List Comprehension with if statement : Python tutorial 131

preview_player
Показать описание
Guys please help this channel to reach 20,000 subscribers. I'll keep uploading quality content for you.

Python is easy programming language to learn and anyone can learn it, and these tutorials are 100% free in hindi.

You can share this playlist with your brother, sisters and friends. This will surely add some values to their life.

If you follow this complete playlist of python tutorial surely you will learn everything about python programming language.

In this video we talked about "list comprehension if statement"

Рекомендации по теме
Комментарии
Автор

Very impressed and very clear material thanks a lot brother!!

arijitdatta
Автор

nice bro this course is really helping me to learn python

masterdon
Автор

Try using PyCharm, you do not have to enter the name of your file all the time. I see you struggling with your IDE quite often.

IamRaeen
Автор

Bhai you are superb...please keep teaching..☺..love your videos..please add other languages like Scala..

asutoshsahoo
Автор

I don't even speak hindu and this video still helped me. :)

DeAngeloYouKnow
Автор

even=[i for i in range(1, 11) if i%2==0]
print(even)
odd_num=[i for i in range(1, 11) if i%2!=0]
print(odd_num)

roxy-stwc
Автор

print([[i for i in range(1, 11) if i%2 == 0]])

even smaller code..only 1 line..no need for extra space for variable

muntasirmahmudsaif
Автор

Sir can we use 'elif' statement in list comprehension to check more than 2 conditions?
If we can, please tell the correct way.
I tried using once and it was showing syntax error

shriyanshasthana
Автор

While writing applications ... writing the code in compressed way is official na?😶

internetuser
Автор

Why you don't use number [ i ] %2==0 condition.

Satoru_Gojo
Автор

sir what are your doing
you do upload chapter 5 complete
and now you canot upload videos of chapter 8
plz upload videos

FaizanMalik-gkrq
Автор

Sir source code link work nhi kar raha h

robinraj
join shbcf.ru