python loop for with code example Example: python for loop //x starts at 1 and goes up to 5 increasing by 2 for x in range(1,5,2): print(x)