sequence = '12345'
length = len(sequence)
seq = sequence[:0] + 'Z' + sequence[0 + 1:]
result = []
for i in range(1,length):
result.append(seq[:i] + 'Z' + seq[i + 1:])
while True:
try:
Session = requests.Session()
break
except Exception: pass