title: Maya Python, Connect to 2 lists
body: <p>So guys, this is question about Maya, python.</p>
  
  <p>Can I create a loop and set shader A color to R shader B color to G and shaderC to B</p>
  
  <pre><code>for i in range(5):
      shader = cmds.shadingNode ('surfaceShader', name=('mm'+str(i)), asShader=True)
      cmds.sets(renderable=True, noSurfaceShader=True, empty=True, name=('mmSG'+str(i)))
      cmds.setAttr(shader +'.outColor', 1,0,0)
  </code></pre>
  
  <p>this is what I have so far, I am stucking in every 3 steps...</p>