1import sys
2import numpy as np
3
4array = np.array([])
5chars = list()
6char = ''
7def strPattern(mystr):
8 mystr = mystr.upper()
9 liste =list(mystr)
10 print(liste)
11 uzunluk = len(mystr)*2-1
12 for x in range(0, len(mystr)):
13 chars.append(liste[x])
14 if x+1 < len(mystr):
15 b = str(x+1)
16 chars.append(b)
17 str1 = ""
18 print(str1.join(chars))
19strPattern('Burkay')