if , if..else , if..elif..else in Python | Conditional Statements in Python | Python Tutorial #30

preview_player
Показать описание
In this video, we are going to learn python conditional statement.
if , if..else and if..elif..else
_________________________________________________________________
#learncodewithdurgesh #durgeshtiwari #python

______________________________________________________________________

topic covered:
conditional statement in python
conditional statement in python hindi,
if in python hindi,
if else in python hindi,
if in python,
if elif else in python,
how to check even number in python
Рекомендации по теме
Комментарии
Автор

thank u sir for sucha quality content for free

gourabbasu
Автор

Yr boss kamal kr dia. Bht piyara smjaya h . Lush

fareedpasha
Автор

skipcount = -1
song = ['always', 'look', 'on', 'the', 'bright', 'side', 'of', 'life']

for sing in song:
if sing == 'look' and skipcount <= 0:
print (sing)
skipcount = 3
elif skipcount > 0: skipcount = skipcount - 1
continue
elif skipcount == 0:
print ('a' + sing)
skipcount = skipcount - 1
else:
print (sing)

output:

always
look
aside
of
life

#My Ques: How does it count to 3 or 0 in order to print look and aside? from which direction?

defendersart