Posts

Showing posts with the label Skipping the character at given index

Skipping the character at given index

  Skipping the character at given index      s=input()      n=int(input())      r=""      for i in range(len(s)):          if(i!=n):              r=r+s[i]      print(r)