Pull request for Lecture 2 assignments for sea-c28

Do you mean pressing enter so there is a new line without any whitespace at
the end of the code? Because my code has that. Also, I think I read that
print() in Python 3 adds /n at the end of every line by default, which is
the function I used.

On Wed, Dec 3, 2014 at 12:25 PM, Joshua Frailey <notifications@github.com>
wrote:

> In Students/ConstantineHatzis/series.py:
>
> > +    test_values_sum_series = ([[5, 0, 1, 3], [5, 2, 1, 7],
> > +                              [5, 4, 3, "That function is not available yet"]])
> > +
> > +    # Test fibonacci() and lucas()
> > +    for n in range(7):
> > +        assert fibonacci(n + 1) == test_values_fibonacci[n]
> > +        assert lucas(n + 1) == test_values_lucas[n]
> > +
> > +    # Test sum_series()
> > +    for n in range(2):
> > +        assert (sum_series(*test_values_sum_series[n][0:3]) ==
> > +                test_values_sum_series[n][3])
> > +
> > +    # If an assert fails, and exception will be thrown and this following print
> > +    # will not executre.
> > +    print(u"All Tests Pass")
>
> Though I don't believe it's actually included in PEP 8, it is convention
> to end all lines, including the last, with a newline character
> <http://stackoverflow.com/questions/729692/why-should-files-end-with-a-newline>
> .
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/codefellows/sea-c28-students/pull/42/files#r21262108>.
>