Q&A Discussions
Hello. Python
1 Vote
5 AnswersGenerators
1 Vote
1 AnswerHow can i retun a 2d array?
0 Votes
7 AnswersMethod returning array
0 Votes
13 Answersdef manipulate_data(n):
positives,negatives=[],[]
if not isinstance(n,list):
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.
please the unittest is still telling me that my code failed the "only lists" allowed test.what do I do.
0 Votes
7 AnswersFunction in c++
0 Votes
7 AnswersHot today
X velocity
3 Votes
And... Who is the staff then?
3 Votes
Files not linking in C++
0 Votes
Web Dev
1 Votes
Why Pro?
1 Votes
Which is the error in this code
0 Votes
Problem with Javascript
0 Votes