Q&A Discussões
def 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 Voto
2 RespostasQuente hoje
Saturn League badge
3 Votes
Sololearn keeps crashing
1 Votes
certificate
1 Votes
Lua course?
2 Votes
CSS
1 Votes
Adding an image to my html
0 Votes
About Advanced Courses
0 Votes