Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- questions = []
- while True:
- questions.append(input())
- for question in questions:
- words = list(question)
- ans = words[:]
- vowel ='aeiou'
- vowels = []
- for word in words:
- if word in vowel:
- vowels.append(word)
- count_vowel = 0
- count = 0
- for word in words:
- if word in vowel:
- count_vowel += 1
- ans[count] = vowels[len(vowels)-count_vowel]
- count += 1
- print(''.join(ans))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement