input: Write a python function to categorize a list of items into numbers and strings.
  assert categorize([1, 'apple', 2.5, 'banana', 3]) == {'numbers': [1, 2.5, 3], 'strings': ['apple', 'banana']}
  assert categorize(['hello', 100, 200.3, 'world']) == {'numbers': [100, 200.3], 'strings': ['hello', 'world']}
  assert categorize([5, 'five', 'six', 6]) == {'numbers': [5, 6], 'strings': ['five', 'six']}
output: def categorize(items):
      result = {'numbers': [], 'strings': []}
      for item in items:
          if isinstance(item, (int, float)):
              result['numbers'].append(item)
          elif isinstance(item, str):
              result['strings'].append(item)
      return result