Groovy web console

subscribe to the feed Subscribe
to this
site

a

Published 5 years ago by a
Actions Execute script  ▶ Edit in console Back to console Show/hide line numbers View recent scripts
f={s->s.collect{/aeiou/=~it?1:0}.sum()%2}
println f("apple")
println f("moon")
println f("dynasty")