Q&A Discussies
Code saving location
0 Stemmen
1 Antwoorddef 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
Help me understand
1 Votes
Ethical Hacking Course
3 Votes
Please help, I'm lost
0 Votes
Html-queries
1 Votes
Py
0 Votes
Pygame learn
2 Votes
How to make a chatbot
1 Votes
Who made
1 Votes
Develop mode on smartphone
1 Votes