Q&A Discussões
Program is exiting
0 Voto
4 Respostasdef 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
Best language?
0 Votes
Bro can you fix yt error?
0 Votes
Need suggestions
0 Votes
Java full stack
0 Votes
Best code for creating games?
0 Votes
Duration of heart refilling
0 Votes
Calculator
0 Votes