original_docstring: Returns s with a random character deleted
docstring: Returns s with a random character deleted
docstring_tokens: Returns s with a random character deleted
code: def delete_random_character(s):
      """Returns s with a random character deleted"""
      if s == "":
          return s
  
      pos = random.randint(0, len(s) - 1)
      # print("Deleting", repr(s[pos]), "at", pos)
      return s[:pos] + s[pos + 1:]
code_tokens: def delete_random_character ( s ) : if s == "" : return s pos = random . randint ( 0 , len ( s ) - 1 ) return s [ : pos ] + s [ pos + 1 : ]
short_docstring: Returns s with a random character deleted
short_docstring_tokens: Returns s with a random character deleted
comment: """Returns s with a random character deleted"""$SEP$# print("Deleting", repr(s[pos]), "at", pos)