Python for Testers #23 – For Loop in Python | Python Loop Tutorial

In this Python for Testers Tutorial we will learn how to use For loop in python. Loops in python are used to execute a particular set of code again and again until the condition is evaluated as false.

In Python, For loop is different from “for loop” as in other programming languages like Java. For loop in Python works more as an iterator and is used to iterate over a sequence. A sequence can be a list, string, dictionary, set, tuple etc.