Q&A Discussions
Return, 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
Web Development
3 Votes
Cybersecurity techies
4 Votes
Please complete this code.
0 Votes
What's wrong with code?
0 Votes
Please answer.
0 Votes
Introduction of html
0 Votes
Money Back
0 Votes