×

This article covers how to use the for loop in Python. In fact, Python loops help to iterate over a list, tuple, string, dictionary, and a set.

There are two types of loop supported in Python "for" and "while". The block of code is executed multiple times inside the loop until the condition fails.




More Linux Tutorials

We create Linux HowTos and Tutorials for Sys Admins. Visit us on IbmiMedia.com

Also for Tech related tips, Visit forum.outsourcepath.com or General Technical tips on www.outsourcepath.com