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

Re: Golf Challenge: FizzBuzz

by blazar (Canon)
on Mar 03, 2007 at 15:13 UTC ( [id://603063]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    print+fizz x/0|5$/.buzz x!($_%7)||$_,$/for 1..100
    
  2. or download this
    print+Fizz x!($_%3).Buzz x/0|5$/||$_,$/for 1..100
    
  3. or download this
    print+(Fizz)[$_%3].(Buzz)[$_%5]||$_,$/for 1..100
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (7)
As of 2024-04-24 20:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found