What does the following Python code do? : <p>I'm not sure, especially, what the last line does. I saw it in a Python book.</p>

<pre><code>from random import randint
random_bits = 0 
for i in range(64): 
    if randint(0, 1): 
        random_bits |= 1 &lt;&lt; i
</code></pre>
