title: Python: iterating over a list or unequal lengths
body: <p>From a config file, I would like to iterate over a list that contains <code>users</code>, <code>repositories</code>, and a <code>password</code> and then assign those values to variables to create a repository object using github3.py.  </p>
  
  <p>The <code>user</code> and <code>repo_name</code> lists will not be equal length. For now, there's two users and several repos, but this can change over time.  I've tried to use <code>zip</code>, but it is only working if the lists are the same length. I would like for it to keep the last value in the <code>user</code> list and map that with the last repo in the <code>repo_name</code> list (<code>user2,repo3</code>).</p>
  
  <pre><code>user = ["user1","user2"]
  repo_name = ["repo1","repo2","repo3"]
  password = "xxxxxxxxx"
  </code></pre>
  
  <p>The code below is where I would like to use those values.</p>
  
  <pre><code>from global_var import *
  for users, repos in zip(user, repo_name)
      gh = login(users, password)
      repo = gh.repository(users, repos)
      list_all_prs()
  </code></pre>