Saved Bookmarks
| 1. |
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. |
|
Answer» dtsfjjdylhuoljswt33579gnjgy |
|