Обсуждения
Simple code issue
1 голос
1 ответ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 ответовWhy doesn't this code work?
0 голосов
3 ответовIf...elif...else
1 голос
1 ответexplanation plzzzz!!!
0 голосов
2 ответовMethod in python
0 голосов
2 ответовwhats wrong with this code
0 голосов
1 ответАктуальное сегодня
How to do a responsive page?
1 Votes
Running a python code
1 Votes
How create a new language ?
0 Votes
Ai in future
1 Votes
Hola
0 Votes
How To Enable Disable Divs?
0 Votes
Beginner question
0 Votes