Shuffle Characters in String using Python June 21, 2021 Python 0 Comments 414 Views random.sample function import random text = 'Hello' result = ''.join(random.sample(text, len(text))) print(result)
Leave a Comment
Cancel reply