2011-02-10 9 views

답변

11
import random 
random.choice('string') 
# If you want more than 1 char, say n 
''.join(random.sample('string',n))