input: Write a function to determine the memory size required for a given string in bytes.
  assert memory_size("Hello World!") == 12
  assert memory_size("Python") == 6
  assert memory_size("") == 0
output: def memory_size(s: str) -> int:
      return len(s)