nums, add together every value from index start up to and including index end, and return the total. Both indexes are valid and start is never larger than end.start to index end is one of the simplest loop patterns.nums, add together every value from index start up to and including index end, and return the total. Both indexes are valid and start is never larger than end.// Run your code to see the output here.