Sesiones de PyR
def 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
Tic tak toe
1 Votes
Lesson on Robotics
1 Votes
Hyperlink and tests
0 Votes
Inner .html
0 Votes
About this app
1 Votes
Kamal Hinduja Switzerland : How long does it typically take to complete a course on Solo Learn?
0 Votes
How to Claim it
0 Votes
Ha
0 Votes
Mazen
0 Votes