String = "Saurav Mahalik"
  
count = 0
for i in String:
      count = count + 1
newString = String[ 0:2 ] + String [count - 2: count ] 

print("Initial string = " + String)
print("New String = "+ newString)
0606c94963eeb22af866195d73137e8fd4a07438
<mask token>

<mask token>
for i in String:
    count = count + 1
<mask token>
print('Initial string = ' + String)
print('New String = ' + newString)

String = 'Saurav Mahalik'
count = 0
for i in String:
    count = count + 1
newString = String[0:2] + String[count - 2:count]
print('Initial string = ' + String)
print('New String = ' + newString)

String = "Saurav Mahalik"
  
count = 0
for i in String:
      count = count + 1
newString = String[ 0:2 ] + String [count - 2: count ] 

print("Initial string = " + String)
print("New String = "+ newString)