Guest User

Untitled

a guest
Jun 24th, 2018
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.42 KB | None | 0 0
  1. def Delete(theString, Start, noChar):
  2.     Index = Start
  3.     theStringLength = Stringlength(theString)
  4.     theString = list(theString)
  5.     while Index < theStringLength - noChar:
  6.         theString[Index] = theString[Index + noChar]
  7.         Index += 1
  8.     while Index < theStringLength:
  9.         theString[Index] = ""
  10.         Index += 1
  11.     newString = ""
  12.     for i in theString:
  13.         newString += i
  14.     return newString
Add Comment
Please, Sign In to add comment