title: list comprehension string alternating patern incrementing
body: <p>I am trying to have a one liner using list comprehension to generate an alternating pattern using a incrementing side number such as:</p>
  <pre><code>L = ['x0', 'y0', 'x1', 'y1', 'x2', 'y2']
  </code></pre>
  <p>So far I have managed to generate this:</p>
  <pre><code>&gt;&gt;&gt; L = [f'x{i}' if i%2==0 else f'y{i}' for i in range(6)]
  &gt;&gt;&gt; print(L)
  &gt;&gt;&gt; ['x0', 'y1', 'x2', 'y3', 'x4', 'y5']
  </code></pre>
  <p>Does anybody have a suggestion ?</p>