Solve problem "Chess board" online - Learn Python 3 - Snakify

Chess board


Given two numbers \( n \) and \( m \). Create a two-dimensional array of size \( \left ( n \times m \right ) \) and populate it with the characters "." and "*" in a checkerboard pattern. The top left corner should have the character "." .

In all the problems input the data using input() and print the result using print().