Recent Posts

Nested Loops





Python programming language allows using one loop inside another loop.
 The following section shows a few examples to illustrate the concept. Basically will add one loop inside another.
For example, we would like (x,y) coordinates  like (1,0) ,(0,1), (0,0) 




Now let's put t2 coordinates together (x,y)





 Now we will try to print (5,2,5,2,2)   for x times  in coordinate



Nested Loops Nested Loops Reviewed by ohhhvictor on May 06, 2019 Rating: 5

No comments:

Facebook

 photo imagen120.jpg
Theme images by 5ugarless. Powered by Blogger.