Dyskusje Q&A
Program is exiting
0 głosów
4 odpowiedzidef 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 głosów
2 odpowiedziPopularne dzisiaj
Losing hearts
1 Votes
Someone explain it... Plz!!!
1 Votes
Programming
0 Votes
Question ❓
0 Votes
Running of python or js script (backend) and entering of html page by clicking SUBMIT button
2 Votes
Web development
0 Votes
Criar aplicativo
0 Votes
Help me
0 Votes