Q:

How to use Python to show only the letters from words with vowels

VOWELS = "aeiou"

word = "matt"
word = "james is funny"
cnt = 0

for v1 in VOWELS:
    print ("vowel", cnt)
    print("letter:", v1)
    cnt = cnt + 1
    for v1 in word:
        print ("location in string", cnt)
        print("letter:", v1)
        cnt = cnt + 1

I've been trying to figure this out for hours and it's driving me crazy. I just need python to print only the vowel letters in the words.

A:

The straightforward way:

for each letter in the text

if it is a vowel, print it
otherwise print a space

Translates directly into Python (along with a tweak to keep everything on the same line when printing):
VOWELS = "aeiou"

word = "james is funny"

for letter in word:
    if letter in VOWELS:
        print(letter, end='')
    else:
        print(' ', end='')

Or the slightly more fancy way: 

Replace all non-vowels with spaces. Print the result

Using the regular expression pattern language:
import re

word = "james is funny"

new_word = re.sub('[^aeiou]', ' ', 'james is funny')

print new_word

