This is my solution so far:
def chemificateWord(word):
vowels = ('a', 'e', 'i', 'o', 'u', 'y','A','E','I','O','U','Y')
word2 = []
for letter in word:
if not word.endswith(vowels):
word2 = word + 'ium'
return word2
''' So when I now print(chemificateWord(Californ))
The result I want is:
Californ**ium**
So I want to replace to last ending letters if they are vowels with 'ium', could anyone help? '''