r/dailyprogrammer_ideas • u/RubenEngels123 • Apr 20 '17
[Intermediate] PHP fibonacci in as few chars as possible
Description
i challenge you to write a php script that writes the first 50 numbers of the fibonacci sequence to the screen, each on a new line and in as few chars as possible
Input description
it expects nothing as an input....
Output description
the first 50 numbers of the fibonacci sequence each on a new line
Notes/Hints
1
Upvotes
4
u/jnazario Apr 20 '17
two things i question about this submission
not the standard way we do our challenges.
3
u/TheMsDosNerd Jul 26 '17 edited Jul 26 '17
Python
41 characters
1
u/Aces4U Jun 14 '17
And Boom! Done in Java. Not quite PHP, but DailyProgrammer is typically not language specific.
Also, this should probably be labelled "[Easy]" compared to the other challenges I've seen.