Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a=int(input())
- n=0
- if a>=1 & a<=1000:
- for i in range(a):
- n=n+1
- z=input("").split()
- s=z[1]
- if len(s)<=80:
- o=int(z[0])-1
- c=list(s)
- c.pop(o)
- f="".join(c)
- print("{} {}".format(n,f))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement