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ß
Where is the error
0 Votes
Help
0 Votes
Full form of HTML
0 Votes
Please help me
0 Votes
Which one is better?? And why??
1 Votes
Use of global function in c
0 Votes
Game
0 Votes