F&A Diskussionen
Program is exiting
0 Stimmen
4 Antwortendef 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 Stimmen
2 AntwortenHeute heiß
Help me😭😭😭😭😭
1 Votes
Python for beginners
1 Votes
Python
0 Votes
How its output is 2 but not 3
0 Votes
dictionary
0 Votes
SQL computer program
0 Votes
Hi
0 Votes
Checking personal activity
0 Votes
Stady html
0 Votes