title: random.choice prints always the same result
body: <p>i'm pretty new to python but i know how to use most of the things in it, included random.choice. I want to choose a random file name from 2 files <a href="https://i.stack.imgur.com/zeMzN.jpg" rel="nofollow noreferrer">list</a>.</p>
  <p>To do so, i'm using this line of code:</p>
  <pre><code>minio = Minio('myip',
                  access_key='mykey',
                  secret_key='mykey',
                )
  
  images = minio.list_objects('mybucket', recursive=True)
  
  for img2 in images:
      names = img2.object_name
  
  print(random.choice([names]))
  </code></pre>
  <p>Everytime i try to run it, it prints always the same file's name <em>(c81d9307-7666-447d-bcfb-2c13a40de5ca.png)</em></p>
  <p>I tried to put the &quot;print&quot; function in the &quot;for&quot; block, but it prints out both of the files' names</p>