Advertisement
snowden_web

marafon | 13

Jun 28th, 2020
1,154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.10 KB | None | 0 0
  1. import random
  2. s = "randomstring"
  3. x = random.randint(1,10)
  4. result = random.choice(s) * x
  5. print(result)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement