input: Write a function in Python to perform a left rotation on a string.  
  assert left_rotate("python",2) == "thonpy"  
  assert left_rotate("bigdata",3) == "databig"  
  assert left_rotate("hadoop",1) == "adooph"
output: def left_rotate(s, n):
      return s[n:] + s[:n]