how to traverse a loop by 2 in python code example Example: python for loop jump by 2 for i in range(0,10,2): print(i)