Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import random
- s = "randomstring"
- x = random.randint(1,10)
- result = random.choice(s) * x
- print(result)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement