Python Developer — Medium
Key points
- The reduce function applies a function of two arguments cumulatively to the items of a sequence
- The initial value provided (10 in this case) is added to the result
- The lambda function used here adds two numbers together
Ready to go further?
Related questions
