Q&A Discussies
Program is exiting
0 Stemmen
4 Antwoordendef 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 Stemmen
2 AntwoordenPopulair vandaag
Mobile app not working sometimes
0 Votes
Text editor
0 Votes
Debugging issue?
0 Votes
how to view only application
0 Votes
If very confusing
0 Votes
Arduino
2 Votes
Iām really confused
0 Votes
Scraping
0 Votes