input: Write a python function to get strings with length greater than 6 from a list.
  assert getStringsWithLength(["testing", "this", "array"]) == ["testing"]
  assert getStringsWithLength(["short", "longerstring", "mid"]) == ["longerstring"]
  assert getStringsWithLength(["example", "test", "anotherlongstring"]) == ["anotherlongstring"]
output: def getStringsWithLength(lst):
      return [s for s in lst if len(s) > 6]