input: Write a python function to limit a string to a maximum length of 6 characters.
  assert limit_string("Hello World")=="Hello "
  assert limit_string("Python")=="Python"
  assert limit_string("Hi")=="Hi"
output: def limit_string(s):
      return s[:6]