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

not matching with the test case #15

Open
sayantikabanik opened this issue Feb 16, 2017 · 0 comments
Open

not matching with the test case #15

sayantikabanik opened this issue Feb 16, 2017 · 0 comments

Comments

@sayantikabanik
Copy link

sayantikabanik commented Feb 16, 2017

def sum_if_list_of_ints(a_list):
sum=0
for item in a_list:
if isinstance (a_list,int):
sum=sum+item
return sum
elif (item== None):
return 0
else:

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

No branches or pull requests

1 participant