Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Fibonacci numbers

by suaveant (Parson)
on Oct 02, 2001 at 00:59 UTC ( #115979=note: print w/ replies, xml ) Need Help??


in reply to Fibonacci numbers

$i = 1; print "$i,"; print($i++,',') for(;;);
This will generate the fibonacci numbers... (and a few others), the professor can sort them out :)

                - Ant
                - Some of my best work - Fish Dinner


Comment on Re: Fibonacci numbers
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2015-07-06 00:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (68 votes), past polls