Sesiones de PyR
Code saving location
0 Votos
1 Respuestadef 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 Votos
2 RespuestasEn tendencia hoy
Activities on sololearn
6 Votes
Html issue
2 Votes
Can you help me ?
1 Votes
Code coach
1 Votes
How I can use div
1 Votes
What am I doing wring?
1 Votes
App development 🔥☝️
1 Votes
Computer architecture
1 Votes
Playground input
1 Votes