A for loop is used to execute the program for a fixed number of times. It can be used to iterate through the elements of a list, tuple etc. In python, a for loop is created using the for keyword. The syntax of for loop in Python is different is from the syntax of for loop in C.
Python is a high-level, interpreted, general-purpose programming language.