Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def elimnareVocale(text):
- vowels = ('a', 'e', 'i', 'o', 'u', 'A', 'E', 'I','O','U');
- for x in vowels:
- text = text.replace(x,"");
- print(text);
- text = "";
- my_dict = {}
- while(len(text) != 1 and text.isdigit() == False):
- text = input("Enter any string: ");
- my_dict.update({text: len(text)})
- elimnareVocale(text);
- print(my_dict);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement