# Python program to print list # using for loop a = [1, 2, 3, 4, 5] # printing the list using loop for x in range(len(a)): print a[x],