Discussioni Q&A
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 Voti
2 RispostePopolare oggi
Pointers cpp
3 Votes
Is pro worth the money ?
1 Votes
Coding for Cybersecurity
0 Votes
Pointers in c#
0 Votes
Drawing images in java
2 Votes