Checkerboard

🎯 Write a program that outputs a chess board with 8 * 8 squares:

#_#_#_#_
_#_#_#_#
#_#_#_#_
_#_#_#_#
#_#_#_#_
_#_#_#_#
#_#_#_#_

Extra Challenges

  • use a single print() statement

  • the characters # and _ occur only once in the program

  • do not use the assignment operator =

Translated with www.DeepL.com