title: Python Print an alternation
body: <p>I need to print a simple chessboard in Python, and it has to have 8 rows and 8 columns.</p>
  <p>This is what I have so far:</p>
  <pre class="lang-py prettyprint-override"><code>for each_row in range(0,8):
      for each_column in range(0,8):
          print(&quot; &quot;, end=&quot;&quot;)
      for k in range(0, 8):
          print(&quot;x&quot;, end=&quot;o&quot;)
      print(&quot;&quot;)
  </code></pre>
  <p>It prints something like this:</p>
  <pre class="lang-none prettyprint-override"><code>xoxoxo
  xoxoxo
  xoxoxo
  xoxoxo
  </code></pre>
  <p>but I want something like this:</p>
  <pre class="lang-none prettyprint-override"><code>xoxoxo
  oxoxox
  xoxoxo
  oxoxox
  </code></pre>