Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Programming Contest (High School '87)

by Kanji (Parson)
on May 12, 2001 at 03:31 UTC ( [id://79872]=note: print w/replies, xml ) Need Help??


in reply to Programming Contest (High School '87)

I can get it down to 41 by juggling your code around and making use of the -l switch ... or 43 if you count the -l. :)

print$"x(3-$_),"*"x($_*2+1)for 0..3,2,1,0

    --k.


Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (7)
As of 2024-04-23 08:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found