Write a Python function splitsum(l) that takes a nonempty list of integers and returns a list [pos,neg], where pos is the sum of squares all the positive numbers in l and neg is the sum of cubes of all the negative numbers in l.
Answers
Answered by
0
Answer:
dtsfjjdylhuoljswt33579gnjgy
Similar questions