Q&A Discussions
def 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 AnswersHot today
I don't know what to do
1 Votes
Problem from code coach.
1 Votes
Responsive Layout with Bootstrap
4 Votes
Needs hwlp
0 Votes