Sesiones de PyR
Return, plz, help
5 Votos
5 RespuestasWhy so many brackets?!
0 Votos
7 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 RespuestasError
1 Voto
7 Respuestasi dont get it
0 Votos
1 RespuestaHelp with JQuery
0 Votos
7 RespuestasHow to obtain output?
0 Votos
6 RespuestasEn tendencia hoy
What's wrong in my code?
4 Votes
App Development
1 Votes
GUI-Based Python code in Webpage
3 Votes
My Missing Courses
1 Votes
Are '\0' and NULL the same?
1 Votes
cyber security
0 Votes