Discussions Q&R
def manipulate_data(n):
positives,negatives=[],[]
if not isinstance(n,list):
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.
please the unittest is still telling me that my code failed the "only lists" allowed test.what do I do.
0 Vote
7 RéponsesAujourd'hui en vedette
What is a web browser intension?
1 Votes
Thread local : global vs local
0 Votes
Postgrrsql and python
0 Votes
Codding lern
0 Votes
Data Analysis Course
1 Votes
Is there LUA?
0 Votes
tabla empleados sql
0 Votes
Web vs python
0 Votes