Cory Marcus wrote:Hey guys.
Think I've figured out my issue.
Thanks for your help!
Hi Cory,
Here is an easier way to generate those numbers:
Now, your method posted above has some errors:
- it produces just one number, because of the return statements
- if the return statements were to be removed, it would produce more numbers than the list in your initial post
I have refactored your method a bit, and removed the return statements: