title: The simple and elegant way to express multiple for loop in python?
body: <p>I have below code, would like to know what is the best simple and elegant way to express multiple for loop?</p>
  
  <pre><code>for x in range (10):
      for y in range (10):
          for z in range(10):
              if x+y+z=10:
                  print (x,y,z)
  </code></pre>
  
  <p>Thanks in advance!</p>