input: Write a Python function to eliminate vowels from a given string and return the resulting string.
output: def eliminate_vowels(string):
      vowels = 'aeiouAEIOU'
      result = ''.join(char for char in string if char not in vowels)
      return result