Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from random import randint
- line = list(input())
- newline = []
- for i in range(len(line)):
- rnd = randint(0, len(line)-1)
- newline.append(line.pop(rnd))
- print(''.join(newline))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement