title: Show the sequence: 1, 2, 3, 4, 5, 4, 3, 2, 1, 0
body: <p>I am practicing python. I cannot solve this exercise.
  Implement a program that shows the following sequence:</p>
  
  <p>1, 2, 3, 4, 5, 4, 3, 2, 1, 0</p>
  
  <p>For a bigger challenge: Use a single while, a single if and a single else</p>
  
  <pre><code>x = 0
  while x &lt; 5:
      x = x + 1
      print(x)
      if x == 5:
          x =  x - 1
          print(x)
  </code></pre>
  
  <p>this is what i have at this moment. but is doesnt work</p>