Medium
Checker Rows
Read n. Print n lines of length n made of
# and . alternating, where each line starts with the opposite character of the line above (first line starts with #).Input
One integer n ≥ 1.
Output
n lines.
Sample 1
Input
4
Output
#.#. .#.# #.#. .#.#
Sample 2
Input
1
Output
#
Output appears here