Hi folks,
I am new to Python (have been on Java for 8 years), but I have quickly
grasped its style.
While working on a problem (as Python practice) to generate fibonacci
numbers using generators and list comprehension, I ran into an issue.
Here's my code:
*import itertools*
*
*
*def
Thats surprising. The code runs just fine
http://ideone.com/06qjoM
(Ans: 986)
As an aside I renamed _sum to sum_
When avoiding naming conflicts, its recommended to postfix a underscore
Prefixing an underscore is to provide a hint that the value that gets
assigned to the variable is going to