# Chapter 19 example: a 3x3 grid. Change both ranges to make it 5x5. for row in range(1, 4): line = "" for col in range(1, 4): line = line + str(row * col) + "\t" print(line)