次のarrでは、「1」と「2」で始まる乱数を生成したい..私は常に「1」と「2」で始まり、残りはランダムにすることができます
example output : 123456789
123478956
124568973
123789456
arr=["1","2","3","4","5","6","7","8","9"]
for i in range(50):
lines = random.sample(arr, 9) //I want always to start with "1" and "2" and the rest can be random
print "%s"%''.join(lines)