# wap to delete nth index from string
x= input('Enter a string :')
y=int(input('Enter index to delete :'))
z=x[:y]+x[y+1:]
print('deleted element from '+ x + "  "+'is :', x[y])
print(z)
128897dcb4ea5160e72067bc4b804c0f52e634e1
<mask token>

<mask token>
print('deleted element from ' + x + '  ' + 'is :', x[y])
print(z)

x = input('Enter a string :')
y = int(input('Enter index to delete :'))
z = x[:y] + x[y + 1:]
print('deleted element from ' + x + '  ' + 'is :', x[y])
print(z)

# wap to delete nth index from string
x= input('Enter a string :')
y=int(input('Enter index to delete :'))
z=x[:y]+x[y+1:]
print('deleted element from '+ x + "  "+'is :', x[y])
print(z)