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
Vote Code
1 Votes
Script file names
0 Votes
Without degree job
0 Votes
Hello World!
0 Votes
Html learn
1 Votes
Java doubt coders
0 Votes