import random
r = random.SystemRandom()
s = "some string"
print(r.choice(s)) # print random character from the string
print(s[r.randrange(len(s))]) # same
aW1wb3J0IHJhbmRvbQoKciA9IHJhbmRvbS5TeXN0ZW1SYW5kb20oKQpzID0gInNvbWUgc3RyaW5nIgpwcmludChyLmNob2ljZShzKSkgIyBwcmludCByYW5kb20gY2hhcmFjdGVyIGZyb20gdGhlIHN0cmluZwpwcmludChzW3IucmFuZHJhbmdlKGxlbihzKSldKSAjIHNhbWU=