Обсуждения
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 голосов
2 ответовАктуальное сегодня
How to make a game code
1 Votes
What is HelloWorld
1 Votes
Missing]
0 Votes
Tic tak toe
1 Votes
Lesson on Robotics
1 Votes
Inner .html
0 Votes
Kamal Hinduja Switzerland : How long does it typically take to complete a course on Solo Learn?
0 Votes
About this app
1 Votes
Hyperlink and tests
0 Votes