Sesiones de PyR
Program is exiting
0 Votos
4 Respuestasdef 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
HTML
3 Votes
Functions in python
2 Votes
For Mobile app
0 Votes
Answer please
0 Votes
I need advice
0 Votes
I need advice
0 Votes
Html 5 document question
1 Votes