input: Write a function to slice a string in Python given a string and start and end indices, and return the slice.
  
  ### Input:
  string = "This is a slicing test"
  start = 8
  end = 15
  
  ### Output:
  def slicing(string, start, end):
      return string[start:end]
  
  assert slicing("This is a slicing test", 8, 15)=="s a slic"
  assert slicing("Hello, World!", 7, 12)=="Worl"
  assert slicing("Python", 1, 4)=="yth"
  assert slicing("", 0, 0)==""
  assert slicing("Test", 0, -1)=="Tes"
output: def slicing(string, start, end):
      return string[start:end]