Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: How many colors does a rainbow have?

by adamcrussell (Hermit)
on Jan 25, 2009 at 02:05 UTC ( #738742=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ echo roygbiv | tr -d "\n" | wc -m
    
  2. or download this
    $ echo roygbiv | perl -e '$a=<STDIN>;chomp $a;printf "There are %d col
    +ors in the rainbow.\n",length $a'
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://738742]
help
Chatterbox?
[karlgoethebier]: shmem: Ja ischweis
[karlgoethebier]: shmem: Vielleicht hat er in den Bollerwagen gebrochen?
[karlgoethebier]: shmem:Ach so. Bollerwagen ist eigentlich was für Kinder. Bei uns fahren sie mit Traktoren und Feuerwehrwagen rum...
[shmem]: karlgoethebier: here abouts people are sitting in big tents, gulp beer and ingest badly scorched chicken and sausages while (not) listening to afwul musik
[shmem]: *awful

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (13)
As of 2017-05-25 12:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?