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