Python Tutorial: Nested Loops

preview_player
Показать описание
What are nested loops? Simple a loop inside another loop.

In this video, we start with a basic intro and then I walk you through the basic logic of a couple programs that need nested loops using flowcharts and then we write the programs!

This is a programming tutorial for Python beginners.
Рекомендации по теме
Комментарии
Автор

Marvelous explanation. People are forgetting the Power of flow charts unfortunatly

hasantaz
Автор

thanks a lot for the video, but why you've put empty print() in line 7?

fahad-qxmw
Автор

awesome explaination sir...
i had doubt very long back
....it not getting clearing..
as...
k=0
for i in range(1, 10):
if(i<=5):
k=k+1
else:
k=k-1
for j in range(1, 10):
if(j<=6-k or j>=4-k):
print("*")
else:
print("")
print("\n")

what is significance of k please can give realtime time example....for it....

lokeshprofessional