# Chapter 18 example: the step in range(). for i in range(0, 101, 10): print(i, end=" ") print() for i in range(10, 0, -1): print(i, end=" ") print()