F&A Diskussionen
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 Stimmen
2 AntwortenHeute heiß
Mentor rank
3 Votes
Why does it disappear?
0 Votes
∞♥
2 Votes
HTML
1 Votes
Code in c++ to do
0 Votes
Time complexity
0 Votes
Web development
1 Votes
Learning
0 Votes