"""
Author: Nguyen Tan Loc
Date: 15/10/2021
Problem:
 How would a column-major traversal of a grid work? Write a code segment that
prints the positions visited by a column-major traversal of a 2-by-3 grid.
Solution:

>>> width = 2
>>> height = 3
>>> for y in range(height):
 for x in range(width):
 print((x, y), end = " ")
 print()
(0, 0) (1, 0)
(0, 1) (1, 1)
(0, 2) (1, 2)
    ....
"""
370e38fdf42caf4ca4d07ef99b222e4765bb6e4d
<mask token>

"""
Author: Nguyen Tan Loc
Date: 15/10/2021
Problem:
 How would a column-major traversal of a grid work? Write a code segment that
prints the positions visited by a column-major traversal of a 2-by-3 grid.
Solution:

>>> width = 2
>>> height = 3
>>> for y in range(height):
 for x in range(width):
 print((x, y), end = " ")
 print()
(0, 0) (1, 0)
(0, 1) (1, 1)
(0, 2) (1, 2)
    ....
"""