vowels = {'a','e','i','o','u'} my_string = "This is my awesome stupendous string!" for c in my_string: if c in vowels: print(c)