input: from typing import List
  
  
  def filter_vowels(string: str) -> str:
      """ Filter out all the vowels from a given string.
      >>> filter_vowels('hello world')
      'hll wrld'
      >>> filter_vowels('Python')
      'Pythn'
      """
output:     vowels = "aeiouAEIOU"
      result = ""
      for char in string:
          if char not in vowels:
              result += char
      return result