You are viewing a single comment's thread. Return to all comments →
x=input() y,z=input().split() k=int(y) x1=list(x) x1[k]=z print(''.join(x1))
Seems like cookies are disabled on this browser, please enable them to open this website
Mutations
You are viewing a single comment's thread. Return to all comments →
x=input() y,z=input().split() k=int(y) x1=list(x) x1[k]=z print(''.join(x1))