I am looking for a function or short program that receives a string (up to 10 letters) and shuffles it.
>>> import random >>> s="abcdef123" >>> ''.join(random.sample(s,len(s))) '1f2bde3ac'
2.1m questions
2.1m answers
60 comments
57.0k users