fork download
  1. def disemvowel(input):
  2. c, v = '', ''
  3. for i in input:
  4. if i in 'aeiou':
  5. v += i
  6. elif i != ' ':
  7. c += i
  8. print c
  9. print v
  10.  
  11. if __name__ == '__main__':
  12. disemvowel('there is no dana only zuul')
Success #stdin #stdout 0.01s 7852KB
stdin
Standard input is empty
stdout
thrsndnnlyzl
eeioaaouu