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
Using Python on VScode
2 Votes
Python Developer
0 Votes
Average of Two Numbers
0 Votes
Wayss
0 Votes
Hearts
0 Votes