Back to tasks
A chessboard
BeginnerPython for kids 路 Lesson 7: Text: joining and repeating
Problem Statement
Draw an 8 by 4 chessboard by repeating the pieces #. and .#:
#.#.#.#.
.#.#.#.#
#.#.#.#.
.#.#.#.#
Output Format
Exactly the text from the example.
Examples
Example 1
Output
#.#.#.#. .#.#.#.# #.#.#.#. .#.#.#.#