Q&A Discussions
getting no output
1 Vote
2 AnswersReturn, plz, help
5 Votes
5 AnswersWhy so many brackets?!
0 Votes
7 Answersdef manipulate_data(n):
positives,negatives=[],[]
if not isinstance(n,list):
raise ValueError
return
else:
for i in n:
if i>=0:
positives.append(i)
if i<0
negatives.append(i)
new=[len(positives,sum(negatives)]
return new.
Someone kindly assist I keep running it in unitests and I keep getting errors.
Here's the question:
0 Votes
2 Answersi dont get it
0 Votes
1 AnswerHelp with JQuery
0 Votes
7 AnswersHow to obtain output?
0 Votes
6 AnswersHot today
X velocity
2 Votes
Files not linking in C++
0 Votes
And... Who is the staff then?
3 Votes
I am a super beginner
0 Votes
Web Dev
1 Votes
Pls give me an idea
1 Votes
Why Pro?
1 Votes
Problem with Javascript
0 Votes