fb pixel

Chessboard

Given an integer n (1 ≤ n ≤ 100), you are asked to print out a chessboard of size . b should represent the black fields and w should represent the white ones.
Input
4

Output
wbwb
bwbw
wbwb
bwbw
 
To check your solution you need to sign in
Sign in to continue