Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pull request #5

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

pull request #5

wants to merge 4 commits into from

Conversation

anway
Copy link
Member

@anway anway commented Nov 7, 2013

No description provided.

return 0
sum = 0
for elt in lst:
sum += elt
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

careful with indentation

also, use the builtin sum function!

@kennyyu
Copy link
Collaborator

kennyyu commented Nov 12, 2013

Overall, excellent job!!!! I'm glad you got through all the exercises and got to show off some of your python skills!

My only complaint is to be careful about indentation (use spaces, not tabs), especially if you're coding in python where whitespace matters!

@kennyyu
Copy link
Collaborator

kennyyu commented Nov 12, 2013

make your commits smaller

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants