We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6119370 commit fb51cbeCopy full SHA for fb51cbe
1 file changed
exercises/practice/accumulate/accumulate.py
@@ -1,2 +1,5 @@
1
def accumulate(collection, operation):
2
- pass
+ result = []
3
+ for item in collection:
4
+ result.append(operation(item))
5
+ return result
0 commit comments