F&A Diskussionen
Code saving location
0 Stimmen
1 Antwortdef 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ß
Please recommend me
0 Votes
Can i code here? Or just learn?
0 Votes
How to build an AI website ?
1 Votes
Why Lazy?
1 Votes
It's app not running properly?
1 Votes