JetBrains · youtube · en
1A summary function can be defined to compute the sum of elements in a list and can be reused as a method or stored in a variable.
“Define a summary which takes an index and starting from zero and going all the way up to list dot size minus one and we'll take that list the value at that index and we'll sum them up”