Rule 1: if a word has only vowels then retain the word as is  

Rule 2: if a word has a consonant then retain only those consonants

But I was not able to my output according to above rules.

The output should be:

```
MSD sys i lv crckt nd tnns t

```

but my output is:

```
MSD sys lv crckt nd tnns t

```

Code:

```
def encrypt(message):
    word_list=message.split(" ")
    final_list=[]
    consonant_word=""
    vowel_list=("a","e","i","o","u","A","E","I","O","U")
    for word in word_list:
            for letter in word:
                if letter in vowel_list:
                    message=message.replace(letter,"")      
    return message

message="MSD says i love cricket and tennis too"            
print(encrypt(message))

```