Given two integers
w, you are asked to paint a chessboard of height
The input contains two integers
wseparated by a space.
The program should print
hrows, which have
wsymbols. The black cells need to be marked with
#and white cells need to be marked with
.#.# #.#. .#.#
Can you implement this in a single line of code 😎?
Time limit: 1 seconds
Memory limit: 512 MB
Output limit: 1 MB