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