title: Is there a way or workaround to insert "continue" statement in a list comprehension?
body: <p>I wanna make a solution for this <a href="https://www.hackerrank.com/challenges/list-comprehensions" rel="nofollow noreferrer">challenge</a> on Hackerrank using python.</p>
  <p>my code:</p>
  <ul>
  <li>It's not valid syntax, I know but I want to make like this clue</li>
  </ul>
  <pre><code>
      if __name__ == '__main__':
              x = int(1)
              y = int(1)
              z = int(1)
              n = int(2)
              result = [[i, j, k]
                        for i in range(n)
                        for j in range(n)
                        for k in range(n)
                        if n != sum([i, j, k]) else continue] # else continue, How to achieve?
              print(result)
  
  </code></pre>
  <p>Thanks in advance</p>