Advertisement
xsot

Vowel Heavy

Sep 28th, 2012
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.17 KB | None | 0 0
  1. while 1:
  2.  r=raw_input()
  3.  if len(r)/2-sum(map('aeiou'.count,r))<0:print r
  4.  
  5. # Alternative solution
  6. while 1:r=raw_input();exec"print r"*(len(r)/2-sum(map('aeiou'.count,r))<0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement