Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- vocale =('a', 'e', 'i', 'o', 'u')
- def voca(sir):
- con = ""
- voc = ""
- for i in sir:
- if i.lower() in vocale:
- voc += i;
- else:
- con += i;
- return con + voc
- dic = {}
- text = "";
- while(True):
- text = input("Text= ");
- if(text.isnumeric()):
- break;
- else:
- dic[text] = voca(text);
- print(dic);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement