Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Golf Challenge: FizzBuzz

by Joost (Canon)
on Mar 02, 2007 at 20:21 UTC ( #602952=note: print w/replies, xml ) Need Help??


in reply to Golf Challenge: FizzBuzz

Straightforward version:
0 1 2 3 4 5 1234567890123456789012345678901234567890123456789012
print map$_%5?$_%3?$_:Fizz:$_%3?Buzz:FizzBuzz,0..100

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://602952]
help
Chatterbox?
Discipulus or was mine?!?
[beech]: thank you, it sure is pretty "code", yup, thats what I call it my ...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2017-02-28 08:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (398 votes). Check out past polls.