#------------------------------------------------------------------------------
#  RemoveVowels.py
#------------------------------------------------------------------------------

def remove_vowels(s):
   vowels = 'aeiouAEIOU'
   s_sans_vowels = ''
   for x in s:
      if x not in vowels:
         s_sans_vowels += x  # same as s_sans_vowels = s_sans_vowels + x
      # end if
   return s_sans_vowels
# end remove_vowels()


#-- main program --------------------------------------------------------------

s = 'happy happy joy joy'
t = remove_vowels(s)
print(s)
print(t)
