15 lines
332 B
Python
15 lines
332 B
Python
import random
|
|
from string import ascii_lowercase
|
|
|
|
def rand_letters(a):
|
|
return "".join(random.choices(ascii_lowercase[:10], k=a))
|
|
|
|
count = 5
|
|
print(count)
|
|
for i in range(count):
|
|
size = random.randint(0, 100000)
|
|
repl = random.randint(0, 10)
|
|
print(size, repl)
|
|
print(rand_letters(size))
|
|
print(rand_letters(size))
|