AlgoBazaAlgoBaza
Back to tasks

Chessboard

Beginner

Python for kids 路 Lesson 1: Your first program

Problem Statement

Draw a 4 by 4 chessboard. # is a black square and . is a white one:

#.#.
.#.#
#.#.
.#.#
Output Format

Exactly the text from the example.

Examples
Example 1

Output

#.#.
.#.#
#.#.
.#.#