Q:

Can't do string concat

import random

possible = '0123456789abcdefghijklmnopqrstuvwxyz'
i = 0 
token = ''
while i<10:
    temp = random.choice(possible)
    print temp
    token = token + temp
    i=i+1

print temp

But it prints only the last randomly taken character.
print temp displays ten characters correctly though.

A:

Perhaps you meant
print token

instead of
print temp

right at the very end?

