random string in python
<p>I am trying to make a script that will generate a random string of text when i run it.</p>

<p>I have got far but im having a problem with formatting.</p>

<p>Here is the code im using</p>

<pre><code>import random    
alphabet = 'abcdefghijklmnopqrstuvwxyz'

min = 5
max = 15

name = random.sample(alphabet,random.randint(min,max))

print name
</code></pre>

<p>And when ever i end up with this</p>

<pre><code>['i', 'c', 'x', 'n', 'y', 'b', 'g', 'r', 'h', 'p', 'w', 'o']
</code></pre>

<p>I am trying to format so it is one line of string so for example</p>

<pre><code>['i', 'c', 'x', 'n', 'y', 'b', 'g', 'r', 'h', 'p', 'w', 'o'] = icxnybgrhpwo
</code></pre>
