Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

RE: shortest

by myocom (Deacon)
on Sep 16, 2000 at 08:59 UTC ( #32784=note: print w/ replies, xml ) Need Help??


in reply to shortest

At one character less, you could do:

chop($_=<>);for(split('',$_)){print$_.': '.($_%2?"Odd\n":"Even\n")}


Comment on RE: shortest
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://32784]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (7)
As of 2014-12-20 06:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (95 votes), past polls